Skip to content

Commit

Permalink
Don't need to explicitly reference the classLoader.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeifW committed Sep 14, 2012
1 parent d536394 commit d2804f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -22,7 +22,7 @@ This will generate a `git.properties` file in the classpath of the generated .ja
// Properties files are widely documented elsewhere, and accesible from any langauge on the JVM
val properties = new java.util.Properties
// Open an InputStream of the file off the classpath
val file = getClass.getClassLoader.getResourceAsStream("git.properties")
val file = getClass.getResourceAsStream("git.properties")
// if the file exists
if (file != null ) {
// Parse / read the file in
Expand Down

0 comments on commit d2804f3

Please sign in to comment.