forked from WorksApplications/findbugs-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'worksap/master' into visible-for-testing
Conflicts: README.md
- Loading branch information
Showing
12 changed files
with
73 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
language: java | ||
jdk: | ||
- openjdk6 | ||
- openjdk7 | ||
script: "mvn clean install" | ||
after_success: | ||
- mvn clean test jacoco:report coveralls:jacoco | ||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/test/java/jp/co/worksap/oss/findbugs/jpa/GetterWithLongLengthAndLob.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package jp.co.worksap.oss.findbugs.jpa; | ||
|
||
import javax.persistence.Column; | ||
import javax.persistence.Lob; | ||
|
||
public class GetterWithLongLengthAndLob { | ||
private String name; | ||
|
||
@Lob | ||
@Column(length = 10000) | ||
public String getName() { | ||
return name; | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/test/java/jp/co/worksap/oss/findbugs/jpa/GetterWithTooLongLength.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.co.worksap.oss.findbugs.jpa; | ||
|
||
import javax.persistence.Column; | ||
|
||
public class GetterWithTooLongLength { | ||
private String name; | ||
|
||
@Column(length = 10000) | ||
public String getName() { | ||
return name; | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
src/test/java/jp/co/worksap/oss/findbugs/jpa/GetterWithoutElement.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package jp.co.worksap.oss.findbugs.jpa; | ||
|
||
import javax.persistence.Column; | ||
|
||
public class GetterWithoutElement { | ||
private String name; | ||
|
||
@Column | ||
public String getName() { | ||
return name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/test/java/jp/co/worksap/oss/findbugs/jpa/NullableBooleanGetter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package jp.co.worksap.oss.findbugs.jpa; | ||
|
||
import javax.persistence.Column; | ||
import javax.persistence.Entity; | ||
|
||
@Entity | ||
public class NullableBooleanGetter { | ||
private boolean booleanValue; | ||
|
||
@Column(nullable = true) | ||
public boolean isBooleanValue() { | ||
return booleanValue; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/test/java/jp/co/worksap/oss/findbugs/jsr305/MutableClass.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters