Skip to content

Commit

Permalink
Table name annotation should not have a default value.
Browse files Browse the repository at this point in the history
  • Loading branch information
sinyu890807 committed Jul 28, 2015
1 parent f675ecc commit a5e01ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion litepal/src/main/java/org/litepal/annotation/Table.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Table {
String name() default "";
String name();
}
3 changes: 1 addition & 2 deletions litepal/src/main/java/org/litepal/util/SharedUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ public class SharedUtil {
/**
* Each time database upgrade, the version of database stored in shared
* preference will update.
*
* @param context
*
* @param newVersion
*/
public static void updateVersion(int newVersion) {
Expand Down

0 comments on commit a5e01ca

Please sign in to comment.