cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf-fediz git commit: Checkstyle update
Date Tue, 08 Mar 2016 15:03:10 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 278dd0967 -> 835848fe7


Checkstyle update


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/835848fe
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/835848fe
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/835848fe

Branch: refs/heads/master
Commit: 835848fe769e11c678a724a7c4b0a7b5dadaf0d5
Parents: 278dd09
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Tue Mar 8 15:02:28 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Mar 8 15:02:28 2016 +0000

----------------------------------------------------------------------
 .../cxf/fediz/core/processor/FederationProcessorImpl.java     | 2 +-
 .../main/java/org/apache/cxf/fediz/core/util/DOMUtils.java    | 4 ++--
 pom.xml                                                       | 7 +------
 .../apache/cxf/fediz/service/idp/domain/FederationType.java   | 2 +-
 .../org/apache/cxf/fediz/service/idp/domain/TrustType.java    | 2 +-
 .../java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java     | 2 +-
 6 files changed, 7 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/835848fe/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
b/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
index be25b09..e1f8ceb 100644
--- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
+++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/processor/FederationProcessorImpl.java
@@ -635,7 +635,7 @@ public class FederationProcessorImpl extends AbstractFedizProcessor {
 
         private final String password;
 
-        public DecryptionCallbackHandler(String password) {
+        DecryptionCallbackHandler(String password) {
             this.password = password;
         }
 

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/835848fe/plugins/core/src/main/java/org/apache/cxf/fediz/core/util/DOMUtils.java
----------------------------------------------------------------------
diff --git a/plugins/core/src/main/java/org/apache/cxf/fediz/core/util/DOMUtils.java b/plugins/core/src/main/java/org/apache/cxf/fediz/core/util/DOMUtils.java
index 5d18238..6d66e8e 100644
--- a/plugins/core/src/main/java/org/apache/cxf/fediz/core/util/DOMUtils.java
+++ b/plugins/core/src/main/java/org/apache/cxf/fediz/core/util/DOMUtils.java
@@ -426,7 +426,7 @@ public final class DOMUtils {
     
     private static DocumentBuilderFactory createDocumentBuilderFactory() throws ParserConfigurationException
{
         DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
-        dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING , true);
+        dbf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
 
         dbf.setValidating(false);
         dbf.setIgnoringComments(false);
@@ -466,7 +466,7 @@ public final class DOMUtils {
 
     public static void writeXml(Node n, OutputStream os) throws TransformerException {
         TransformerFactory tf = TransformerFactory.newInstance();
-        tf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING , true);
+        tf.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
         // identity
         Transformer t = tf.newTransformer();
         t.setOutputProperty(OutputKeys.INDENT, "yes");

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/835848fe/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d5efb34..d520c4b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -489,18 +489,13 @@
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-checkstyle-plugin</artifactId>
-                    <version>2.15</version>
+                    <version>2.17</version>
                     <dependencies>
                         <dependency>
                             <groupId>org.apache.cxf.build-utils</groupId>
                             <artifactId>cxf-buildtools</artifactId>
                             <version>${cxf.build-utils.version}</version>
                         </dependency>
-                        <dependency>
-                            <groupId>com.puppycrawl.tools</groupId>
-                            <artifactId>checkstyle</artifactId>
-                            <version>6.4.1</version>
-                        </dependency>
                     </dependencies>
                     <configuration>
                         <encoding>UTF-8</encoding>

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/835848fe/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/FederationType.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/FederationType.java
b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/FederationType.java
index eecc438..2dcc296 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/FederationType.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/FederationType.java
@@ -28,7 +28,7 @@ public enum FederationType {
 
     private String name;
 
-    private FederationType(final String name) {
+    FederationType(final String name) {
         this.name = name;
     }
 

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/835848fe/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/TrustType.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/TrustType.java
b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/TrustType.java
index 45025fc..50efb25 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/TrustType.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/domain/TrustType.java
@@ -28,7 +28,7 @@ public enum TrustType {
 
     private String name;
 
-    private TrustType(final String name) {
+    TrustType(final String name) {
         this.name = name;
     }
 

http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/835848fe/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
----------------------------------------------------------------------
diff --git a/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
b/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
index 0079ade..1909b15 100644
--- a/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
+++ b/systests/oidc/src/test/java/org/apache/cxf/fediz/systests/oidc/OIDCTest.java
@@ -755,7 +755,7 @@ public class OIDCTest {
 
         private String code;
         
-        public CodeWebConnectionWrapper(WebClient webClient) throws IllegalArgumentException
{
+        CodeWebConnectionWrapper(WebClient webClient) throws IllegalArgumentException {
             super(webClient);
         }
         


Mime
View raw message