Skip to content
Permalink
Browse files
Clean up a few build warnings.
- remove references to the javancss plugin
- clear up javadoc warnings from checkstyle by only requiring them for
  methods that are protected (or more visible)
- remove an unused import

Closes #86
  • Loading branch information
Marcelo Vanzin committed Oct 2, 2018
1 parent 2b69849 commit ec4150fe30ceb9726618e60d6557a85cc122d77b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 15 deletions.
@@ -38,6 +38,7 @@ limitations under the License.
<module name="NeedBraces"/>
<module name="JavadocMethod">
<property name="allowUndeclaredRTE" value="true"/>
<property name="scope" value="protected"/>
</module>
</module>
</module>
13 pom.xml
@@ -560,6 +560,7 @@ The following provides more details on the included cryptographic software:
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
<failsOnError>true</failsOnError>
</configuration>
<reportSets>
<reportSet>
@@ -631,11 +632,6 @@ The following provides more details on the included cryptographic software:
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
@@ -649,13 +645,6 @@ The following provides more details on the included cryptographic software:
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</reporting>
<dependencies>
@@ -28,7 +28,6 @@
import javax.crypto.Cipher;
import javax.crypto.IllegalBlockSizeException;
import javax.crypto.ShortBufferException;
import javax.crypto.spec.IvParameterSpec;

import org.apache.commons.crypto.utils.Utils;

@@ -32,7 +32,7 @@
*/
class OpenSslCommonMode extends OpenSslFeedbackCipher {

public OpenSslCommonMode(long context, int algorithmMode, int padding) {
OpenSslCommonMode(long context, int algorithmMode, int padding) {
super(context, algorithmMode, padding);
}

@@ -46,7 +46,7 @@ enum OpenSslEvpCtrlValues {
this.value = value;
}

public int getValue() {
int getValue() {
return value;
}
}

0 comments on commit ec4150f

Please sign in to comment.