Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #1 from jwadamson/master
Browse files Browse the repository at this point in the history
Two quick things
  • Loading branch information
lukaseder committed Sep 17, 2014
2 parents f8a849c + eb67c8a commit 3109c1d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion silly-metrics/pom.xml
Expand Up @@ -15,6 +15,17 @@
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<mainClass>silly.metrics.KeywordCounter</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
</project>
</project>
Expand Up @@ -222,6 +222,7 @@ else if (file.getName().endsWith(".java")) {
RandomAccessFile f = new RandomAccessFile(file, "r");
byte[] contents = new byte[(int) f.length()];
f.readFully(contents);
f.close();
String content = new String(contents);

char c;
Expand Down

0 comments on commit 3109c1d

Please sign in to comment.