[xmlsectool] branch master updated: Conventions: capitalisation.

Ian Young ian at iay.org.uk
Wed May 25 07:00:48 EDT 2016


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository xmlsectool.

The following commit(s) were added to refs/heads/master by this push:
       new  d943f6c   Conventions: capitalisation.
d943f6c is described below

commit d943f6cefad46c3b51b19aa51d4f89201b880a5c
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Wed May 25 12:00:38 2016 +0100

    Conventions: capitalisation.
---
 src/main/bash/xmlsectool.sh                                       | 2 +-
 .../java/net/shibboleth/tool/xmlsectool/CommandLineArguments.java | 2 +-
 .../tool/xmlsectool/{XmlSecTool.java => XMLSecTool.java}          | 6 +++---
 src/test/java/net/shibboleth/tool/xmlsectool/XSTJ51Test.java      | 8 ++++----
 src/test/java/net/shibboleth/tool/xmlsectool/XSTJ59Test.java      | 6 +++---
 5 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/main/bash/xmlsectool.sh b/src/main/bash/xmlsectool.sh
index 286d45a..3738e3e 100755
--- a/src/main/bash/xmlsectool.sh
+++ b/src/main/bash/xmlsectool.sh
@@ -46,4 +46,4 @@ do
     fi
 done
 
-"$JAVACMD" '-Xmx256m' '-classpath' "$LOCALCLASSPATH" $JVMOPTS '-Dnet.shibboleth.tool.xmlsectool.XmlSecTool.home='"$LOCATION" 'net.shibboleth.tool.xmlsectool.XmlSecTool' "$@"
+"$JAVACMD" '-Xmx256m' '-classpath' "$LOCALCLASSPATH" $JVMOPTS '-Dnet.shibboleth.tool.xmlsectool.XMLSecTool.home='"$LOCATION" 'net.shibboleth.tool.xmlsectool.XMLSecTool' "$@"
diff --git a/src/main/java/net/shibboleth/tool/xmlsectool/CommandLineArguments.java b/src/main/java/net/shibboleth/tool/xmlsectool/CommandLineArguments.java
index ff5db11..9f760b3 100644
--- a/src/main/java/net/shibboleth/tool/xmlsectool/CommandLineArguments.java
+++ b/src/main/java/net/shibboleth/tool/xmlsectool/CommandLineArguments.java
@@ -24,7 +24,7 @@ import com.beust.jcommander.JCommander;
 import com.beust.jcommander.Parameter;
 import com.beust.jcommander.ParameterException;
 
-/** Command line arguments for the {@link XmlSecTool} command line tool. */
+/** Command line arguments for the {@link XMLSecTool} command line tool. */
 public class CommandLineArguments {
 
     /*
diff --git a/src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java b/src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java
similarity index 99%
rename from src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java
rename to src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java
index ad73ce7..4e77055 100644
--- a/src/main/java/net/shibboleth/tool/xmlsectool/XmlSecTool.java
+++ b/src/main/java/net/shibboleth/tool/xmlsectool/XMLSecTool.java
@@ -103,13 +103,13 @@ import net.shibboleth.utilities.java.support.xml.SerializeSupport;
  *  A command line tool for checking an XML file for well-formedness and validity as well as
  *  signing and checking signatures.
  */
-public final class XmlSecTool {
+public final class XMLSecTool {
 
     /** Class logger. */
     private static Logger log;
 
     /** Constructor. */
-    private XmlSecTool() {}
+    private XMLSecTool() {}
 
     /**
      * Main command-line entry point.
@@ -1032,6 +1032,6 @@ public final class XmlSecTool {
             System.setProperty("logback.configurationFile", "logger-normal.xml");
         }
 
-        log = LoggerFactory.getLogger(XmlSecTool.class);
+        log = LoggerFactory.getLogger(XMLSecTool.class);
     }
 }
\ No newline at end of file
diff --git a/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ51Test.java b/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ51Test.java
index 39d42fc..59fa321 100644
--- a/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ51Test.java
+++ b/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ51Test.java
@@ -37,19 +37,19 @@ public class XSTJ51Test extends BaseTest {
                 };
         final CommandLineArguments cli = new CommandLineArguments();
         cli.parseCommandLineArguments(args);
-        XmlSecTool.initLogging(cli);
+        XMLSecTool.initLogging(cli);
 
         // acquire a document to sign
         final Document xml = readXMLDocument("in.xml");
         
         // perform signature operation
-        XmlSecTool.sign(cli, cred, xml);
+        XMLSecTool.sign(cli, cred, xml);
         
         // verify the signature using our own code for consistency
-        XmlSecTool.verifySignature(cli, cred, xml);
+        XMLSecTool.verifySignature(cli, cred, xml);
 
         // take a careful look at the signature
-        final Element signatureElement = XmlSecTool.getSignatureElement(xml);
+        final Element signatureElement = XMLSecTool.getSignatureElement(xml);
         final Element keyInfoElement = ElementSupport.getFirstChildElement(signatureElement,
                 KeyInfo.DEFAULT_ELEMENT_NAME);
         final List<Element> keyInfoChildren = ElementSupport.getChildElements(keyInfoElement);
diff --git a/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ59Test.java b/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ59Test.java
index 281232b..8c2ae14 100644
--- a/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ59Test.java
+++ b/src/test/java/net/shibboleth/tool/xmlsectool/XSTJ59Test.java
@@ -38,7 +38,7 @@ public class XSTJ59Test extends BaseTest {
                 };
         final CommandLineArguments cli = new CommandLineArguments();
         cli.parseCommandLineArguments(args);
-        XmlSecTool.initLogging(cli);
+        XMLSecTool.initLogging(cli);
 
         // check that the credential is of the right kind
         final DSAPublicKey key = (DSAPublicKey)cred.getPublicKey();
@@ -48,10 +48,10 @@ public class XSTJ59Test extends BaseTest {
         final Document xml = readXMLDocument("in.xml");
         
         // perform signature operation
-        XmlSecTool.sign(cli, cred, xml);
+        XMLSecTool.sign(cli, cred, xml);
         
         // verify the signature using our own code for consistency
-        XmlSecTool.verifySignature(cli, cred, xml);
+        XMLSecTool.verifySignature(cli, cred, xml);
 
         // compare with output from V1.x
         final Document out = readXMLDocument("out1024.xml");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list