From 1ed3ebc7e1901d528ea169658bb896c3958eec0f Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 24 Mar 2014 13:51:34 +0100 Subject: update JavaDoc --- id/server/idserverlib/pom.xml | 6 ++---- .../CreateXMLSignatureRequestBuilderForeign.java | 4 ++-- .../auth/builder/GetIdentityLinkFormBuilder.java | 23 +++++++++++----------- 3 files changed, 16 insertions(+), 17 deletions(-) (limited to 'id/server/idserverlib') diff --git a/id/server/idserverlib/pom.xml b/id/server/idserverlib/pom.xml index 8d77ee481..84d2ef6c7 100644 --- a/id/server/idserverlib/pom.xml +++ b/id/server/idserverlib/pom.xml @@ -82,7 +82,6 @@ axis axis - 1.1 @@ -190,8 +189,7 @@ commons-fileupload commons-fileupload - 1.3 - + commons-httpclient commons-httpclient @@ -322,7 +320,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.5 + 2.9.1 UTF-8 UTF-8 diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilderForeign.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilderForeign.java index e7e1e5cbd..f4b5cb4c9 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilderForeign.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/CreateXMLSignatureRequestBuilderForeign.java @@ -144,7 +144,7 @@ public class CreateXMLSignatureRequestBuilderForeign extends Builder { else if (ch == '<') out.write("<"); else if (ch == '>') - out.write(">"); + out.write(">"); else if (ch == 'ä') out.write("ä"); else if (ch == 'ö') @@ -164,7 +164,7 @@ public class CreateXMLSignatureRequestBuilderForeign extends Builder { } } catch (IOException ex) { - throw new BuildException("builder.00", new Object[] {"GetIdentityLinkForm", ex.toString()}); + throw new BuildException("builder.00", new Object[] {"CreateXMLSignatureRequest", ex.toString()}); } return out.toString(); } diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java index c09cde787..ab93f509c 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/builder/GetIdentityLinkFormBuilder.java @@ -212,28 +212,29 @@ public class GetIdentityLinkFormBuilder extends Builder { StringWriter out = new StringWriter(); try { for (int ch = in.read(); ch >= 0; ch = in.read()) { - if (ch == '"') + if (ch == '"') { out.write("""); - else if (ch == '<') + } else if (ch == '<') { out.write("<"); - else if (ch == '>') + } else if (ch == '>') { out.write(">"); - else if (ch == 'ä') + } else if (ch == 'ä') { out.write("ä"); - else if (ch == 'ö') + } else if (ch == 'ö') { out.write("ö"); - else if (ch == 'ü') + } else if (ch == 'ü') { out.write("ü"); - else if (ch == 'Ä') + } else if (ch == 'Ä') { out.write("Ä"); - else if (ch == 'Ö') + } else if (ch == 'Ö') { out.write("Ö"); - else if (ch == 'Ü') + } else if (ch == 'Ü') { out.write("Ü"); - else if (ch == 'ß') + } else if (ch == 'ß') { out.write("ß"); - else + } else { out.write(ch); + } } } catch (IOException ex) { -- cgit v1.2.3