Skip to content

Commit

Permalink
Support Windows+UNIX Robolectric users.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhornby committed Apr 21, 2014
1 parent bd98740 commit 2004b0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/activeandroid/ModelInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private void scanForModelClasses(File path, String packageName, ClassLoader clas
return;
}

className = className.replace("/", ".");
className = className.replace(System.getProperty("file.separator"), ".");

int packageNameIndex = className.lastIndexOf(packageName);
if (packageNameIndex < 0) {
Expand Down

0 comments on commit 2004b0f

Please sign in to comment.