Skip to content

Commit

Permalink
Fix build - AndroidResource implements new Resource API
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Mar 16, 2014
1 parent 245e409 commit 41660bf
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ public InputStream getInputStream() throws IOException {
}

@Override
public String getClassName() {
return path.substring(path.lastIndexOf("/"));
public String getClassName(String extension) {
return path.substring(0, path.length() - extension.length()).replace('/', '.');
}

@Override
Expand Down

0 comments on commit 41660bf

Please sign in to comment.