AxelNennker / openinfocard

Automatically exported from code.google.com/p/openinfocard
0 stars 0 forks source link

resolve current deprecation warnings in build #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
/usr/local/cruisecontrol-bin-2.6/projects/openinfocard/src/org/xmldap/sts/db/DbS
upportedClaims.java:18:
warning: unmappable character for encoding UTF8

public final static DbDisplayTag[] streetAddressDisplayTagsOA = {new
DbDisplayTag("en_US","Street"), new DbDisplayTag("de_DE","Stra�e")};

^

/usr/local/cruisecontrol-bin-2.6/projects/openinfocard/src/org/xmldap/objc/bridg
e/ObjectiveCBridge.java:52:
warning: [deprecation] getServerCertificates(java.lang.String) in
org.xmldap.transport.SSLTransportUtil has been deprecated

Certificate[] certs = SSLTransportUtil.getServerCertificates(url);

^

/usr/local/cruisecontrol-bin-2.6/projects/openinfocard/src/org/xmldap/sts/servle
t/DecryptCardspaceBackupServlet.java:57:
warning: [deprecation]
isMultipartContent(javax.servlet.http.HttpServletRequest) in
org.apache.commons.fileupload.FileUploadBase has been deprecated

boolean isMultipart = ServletFileUpload.isMultipartContent(request);

^

/usr/local/cruisecontrol-bin-2.6/projects/openinfocard/src/org/xmldap/sts/servle
t/MexServlet.java:127:
warning: [deprecation] readLine() in java.io.DataInputStream has been
deprecated

mexBuff.append(ins.readLine());

^

/usr/local/cruisecontrol-bin-2.6/projects/openinfocard/src/org/xmldap/transport/
HTTPClient.java:62:
warning: [deprecation]
Protocol(java.lang.String,org.apache.commons.httpclient.protocol.SecureProtocolS
ocketFactory,int)
in org.apache.commons.httpclient.protocol.Protocol has been deprecated

Protocol.registerProtocol("https", new Protocol("https", blindTrust, 443));

^

/usr/local/cruisecontrol-bin-2.6/projects/openinfocard/src/org/xmldap/transport/
HTTPTransport.java:72:
warning: [deprecation]
Protocol(java.lang.String,org.apache.commons.httpclient.protocol.SecureProtocolS
ocketFactory,int)
in org.apache.commons.httpclient.protocol.Protocol has been deprecated

Protocol.registerProtocol("https", new Protocol("https", blindTrust, 443));

^

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

6 warnings

Original issue reported on code.google.com by ian.g.br...@gmail.com on 28 Jan 2007 at 1:37