Skip to content

Commit

Permalink
Fixed visibility bug. Added group/version to build description.
Browse files Browse the repository at this point in the history
  • Loading branch information
dleppik committed Mar 3, 2017
1 parent 17182fb commit d99c523
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
subprojects {
group = 'com.vocalabs'
version = '0.1-SNAPSHOT'

apply plugin: 'java'
sourceCompatibility = 1.8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ protected boolean checkSupport() {

private boolean visible(Element el) {
Set<Modifier> modifiers = el.getModifiers();
return modifiers.contains(Modifier.PUBLIC) || modifiers.contains(Modifier.DEFAULT);
if (modifiers.contains(Modifier.PRIVATE))
return false;
return ! modifiers.contains(Modifier.PROTECTED);
}

protected String testMethodName() {
Expand Down

0 comments on commit d99c523

Please sign in to comment.