dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #40345
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 20450: Minor
------------------------------------------------------------
revno: 20450
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-10-01 17:59:38 +0200
message:
Minor
modified:
dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/PathUtils.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/PathUtils.java'
--- dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/PathUtils.java 2015-07-03 20:43:24 +0000
+++ dhis-2/dhis-support/dhis-support-commons/src/main/java/org/hisp/dhis/commons/util/PathUtils.java 2015-10-01 15:59:38 +0000
@@ -39,6 +39,11 @@
private static final char FILE_SEPARATOR = '/';
+ /**
+ * Converts the fully qualified class name to a UNIX path.
+ * @param clazz the class, separated by '.'.
+ * @return the UNIX path, separated by '/'.
+ */
public static String getClassPath( Class<?> clazz )
{
return clazz.getName().replace( PACKAGE_SEPARATOR, FILE_SEPARATOR );
@@ -46,7 +51,7 @@
/**
* Converts the fully qualified class name to a UNIX path.
- * @param clazzName the classname, separated by '.'.
+ * @param clazzName the class name, separated by '.'.
* @return the UNIX path, separated by '/'.
*/
public static String getClassPath( String clazzName )