diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-24 13:51:34 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-03-24 13:51:34 +0100 |
commit | 1ed3ebc7e1901d528ea169658bb896c3958eec0f (patch) | |
tree | 2388b6276a3217ff0ffeaa342a88a1cbc1cf27bd /id/server/idserverlib/src/main | |
parent | 5f39bc056a8e8409d1608228443d12e13812f297 (diff) | |
download | moa-id-spss-1ed3ebc7e1901d528ea169658bb896c3958eec0f.tar.gz moa-id-spss-1ed3ebc7e1901d528ea169658bb896c3958eec0f.tar.bz2 moa-id-spss-1ed3ebc7e1901d528ea169658bb896c3958eec0f.zip |
update JavaDoc
Diffstat (limited to 'id/server/idserverlib/src/main')
2 files changed, 14 insertions, 13 deletions
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) { |