Skip to content

Commit

Permalink
Merge pull request #219 from jhornby/master
Browse files Browse the repository at this point in the history
Support Windows+UNIX Robolectric users.
  • Loading branch information
SeanPONeil committed May 28, 2014
2 parents f894d80 + 2004b0f commit df29214
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 df29214

Please sign in to comment.