Skip to content

Commit

Permalink
removed no longer relevant example code
Browse files Browse the repository at this point in the history
  • Loading branch information
markjenkins committed Sep 8, 2014
1 parent a11a0ab commit cbf1ec7
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ public WicketApplication()
{
}

public static InputStream getStreamFromDataResource(String fname) throws IOException {
return new FileInputStream(new java.io.File(getDataDir(),"countries-poly.txt"));
}

/** Utility method used by several servlets in this app. */
public static File getDataDir() {
File data = new File("data");
String dir = System.getProperty("data.dir");
if(dir!=null) {
data = new File(dir);
}
return data;
}

@Override
public Class<SearchPage> getHomePage()
{
Expand Down

0 comments on commit cbf1ec7

Please sign in to comment.