Changes

Summary

  1. Remove uses of new Integer() (details)
  2. Bug 568174 using invalid host name produces misleading error (details)
Commit 93c91c2fb056b7b18f3ca345f5c2a2a42f40820e by Alex Blewitt
Remove uses of new Integer()

Instead of using `new Integer()` to construct Integer instances, use
`Integer.valueOf()` which uses a cache to prevent re-instantiation of
Integer instances where necessary.

Bug: 568048
Change-Id: Ic5cbba63c04efb6410af186ead039b4051f04c83
Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com>
The file was modifiedframework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/provider/BaseContainerInstantiator.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.provider.xmpp/src/org/eclipse/ecf/tests/provider/xmpp/datashare/ChannelTest.java
The file was modifiedprotocols/bundles/org.eclipse.ecf.protocol.bittorrent/src/org/eclipse/ecf/protocol/bittorrent/internal/torrent/Piece.java
The file was modifiedframework/bundles/org.eclipse.ecf.sync/pom.xml
The file was modifiedexamples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/AbstractConcatHostApplication.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/pom.xml
The file was modifiedprotocols/bundles/ch.ethz.iks.r_osgi.remote/src/test/java/ch/ethz/iks/test/util/SmartSerializerTestCase.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/SubscriptionAgent.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/provider/filetransfer/browse/URLFileSystemBrowser.java
The file was modifiedframework/bundles/org.eclipse.ecf.identity/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.sharedobject/src/org/eclipse/ecf/tests/sharedobject/util/reflection/ClassUtilTest.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/security/SSLRemoteServiceTrackerTest.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.discovery/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/provider/filetransfer/outgoing/AbstractUrlConnectionOutgoingFileTransfer.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient4/META-INF/MANIFEST.MF
The file was modifiedprotocols/bundles/ch.ethz.iks.slp/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/security/SSLRemoteServiceTest.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests/pom.xml
The file was modifiedtests/bundles/org.eclipse.ecf.tests.presence/META-INF/MANIFEST.MF
The file was modifiedframework/bundles/org.eclipse.ecf/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.discovery/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.jslp/pom.xml
The file was modifiedexamples/bundles/org.eclipse.ecf.example.clients/META-INF/MANIFEST.MF
The file was modifiedexamples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/impl/DiscoveryAgent.java
The file was modifiedprotocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/impl/ChannelEndpointMultiplexer.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.clients/pom.xml
The file was modifiedprotocols/bundles/ch.ethz.iks.slp/src/site/xdoc/jSLP/userguide.xml
The file was modifiedserver-side/bundles/org.eclipse.ecf.server.generic/src/org/eclipse/ecf/server/generic/app/AbstractGenericClientApplication.java
The file was modifiedosgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/EndpointDescriptionLocator.java
The file was modifiedframework/bundles/org.eclipse.ecf.remoteservice.rest/META-INF/MANIFEST.MF
The file was modifiedexamples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/src/org/eclipse/ecf/internal/examples/raspberrypi/management/host/Activator.java
The file was modifiedserver-side/bundles/org.eclipse.ecf.server.generic/src/org/eclipse/ecf/server/generic/app/ServerConfigParser.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.collab/pom.xml
The file was modifiedincubation/bundles/org.eclipse.ecf.sync.resources.ui/src/org/eclipse/ecf/internal/sync/ui/resources/SyncResourcesUI.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.xmpp/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/provider/filetransfer/retrieve/UrlConnectionRetrieveFileTransfer.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.discovery/src/org/eclipse/ecf/internal/provider/discovery/Activator.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.jmdns/src/org/eclipse/ecf/internal/provider/jmdns/JMDNSPlugin.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient4/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient4/src/org/eclipse/ecf/provider/filetransfer/httpclient4/HttpClientRetrieveFileTransfer.java
The file was modifiedframework/bundles/org.eclipse.ecf.identity/src/org/eclipse/ecf/core/identity/IDFactory.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.dnssd/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/src/org/eclipse/ecf/tests/remoteservice/generic/SimpleConcatClient.java
The file was modifiedincubation/bundles/org.eclipse.ecf.sync.resources.ui/META-INF/MANIFEST.MF
The file was modifiedexamples/bundles/org.eclipse.ecf.examples.raspberrypi.management.host/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/src/org/eclipse/ecf/provider/filetransfer/httpclient45/HttpClientFileSystemBrowser.java
The file was modifiedframework/bundles/org.eclipse.ecf.discovery.ui.model/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/internal/provider/jslp/Activator.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractChatTest.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.presence/src/org/eclipse/ecf/tests/presence/AbstractConnectTest.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.r_osgi/pom.xml
The file was modifiedframework/bundles/org.eclipse.ecf.remoteservice/src/org/eclipse/ecf/remoteservice/AbstractRemoteService.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.remoteservice/pom.xml
The file was modifiedframework/bundles/org.eclipse.ecf.discovery.ui.model/pom.xml
The file was modifiedframework/bundles/org.eclipse.ecf.sync/META-INF/MANIFEST.MF
The file was modifiedprotocols/bundles/ch.ethz.iks.r_osgi.remote/pom.xml
The file was modifiedprotocols/bundles/ch.ethz.iks.slp/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/internal/provider/filetransfer/Activator.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.discovery/src/org/eclipse/ecf/tests/discovery/AbstractDiscoveryTest.java
The file was modifiedprotocols/bundles/org.eclipse.ecf.protocol.bittorrent/pom.xml
The file was modifiedprotocols/bundles/org.eclipse.ecf.protocol.bittorrent/META-INF/MANIFEST.MF
The file was modifiedexamples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/src/org/eclipse/ecf/internal/examples/remoteservices/hello/host/HelloHostApplication.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.xmpp/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/pom.xml
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice/pom.xml
The file was modifiedtests/bundles/org.eclipse.ecf.tests.presence/pom.xml
The file was modifiedtests/bundles/org.eclipse.ecf.tests.apache.httpclient.server/src/org/apache/commons/httpclient/server/ErrorResponse.java
The file was modifiedosgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/internal/osgi/services/remoteserviceadmin/Activator.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient4/src/org/eclipse/ecf/provider/filetransfer/httpclient4/HttpClientFileSystemBrowser.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.rss/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.provider.xmpp/src/org/eclipse/ecf/tests/provider/xmpp/remoteservice/RemoteServiceRetrievalTest.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.dnssd/pom.xml
The file was modifiedserver-side/examples/bundles/org.eclipse.ecf.examples.updatesite.server/META-INF/MANIFEST.MF
The file was modifiedserver-side/examples/bundles/org.eclipse.ecf.examples.updatesite.server/src/org/eclipse/ecf/internal/examples/updatesite/DiscoverableServer.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.provider.xmpp/pom.xml
The file was modifiedprotocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/impl/ChannelEndpointImpl.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.pubsub/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.sharedobject/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.rss/src/org/eclipse/ecf/internal/provider/rss/container/RssContainerInstantiator.java
The file was modifiedframework/bundles/org.eclipse.ecf.identity/pom.xml
The file was modifiedprotocols/bundles/ch.ethz.iks.r_osgi.remote/src/main/java/ch/ethz/iks/r_osgi/types/BoxedPrimitive.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.jmdns/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/RegistrySharedObject.java
The file was modifiedframework/bundles/org.eclipse.ecf.remoteservice/META-INF/MANIFEST.MF
The file was modifiedprotocols/bundles/ch.ethz.iks.slp/src/main/java/ch/ethz/iks/slp/impl/SLPCore.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests/src/org/eclipse/ecf/tests/ContainerAbstractTestCase.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.apache.httpclient.server/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.r_osgi/META-INF/MANIFEST.MF
The file was modifiedserver-side/bundles/org.eclipse.ecf.server.generic/src/org/eclipse/ecf/server/generic/app/ClientApplication.java
The file was modifiedexamples/bundles/org.eclipse.ecf.examples.remoteservices.hello.host/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.r_osgi/src/org/eclipse/ecf/internal/provider/r_osgi/R_OSGiRemoteServiceContainer.java
The file was modifiedframework/bundles/org.eclipse.ecf.provider/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient4/src/org/eclipse/ecf/provider/filetransfer/httpclient4/HttpClientOptions.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/META-INF/MANIFEST.MF
The file was modifiedprotocols/bundles/ch.ethz.iks.r_osgi.remote/META-INF/MANIFEST.MF
The file was modifiedexamples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/EclipseCollabSharedObject.java
The file was modifiedframework/bundles/org.eclipse.ecf.provider/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.provider.xmpp/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.dnssd/src/org/eclipse/ecf/provider/dnssd/Activator.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/XMPPSContainerInstantiator.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.discovery/pom.xml
The file was modifiedframework/bundles/org.eclipse.ecf/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer.httpclient45/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.jslp/META-INF/MANIFEST.MF
The file was modifiedserver-side/bundles/org.eclipse.ecf.server.generic/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/smack/ECFConnection.java
The file was modifiedserver-side/bundles/org.eclipse.ecf.server.generic/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.remoteservice/src/org/eclipse/ecf/provider/remoteservice/generic/AddRegistrationRequest.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/applications/ChatRoomRobotApplication.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.collab/META-INF/MANIFEST.MF
The file was modifiedosgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/META-INF/MANIFEST.MF
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.filetransfer/src/org/eclipse/ecf/provider/filetransfer/retrieve/AbstractRetrieveFileTransfer.java
The file was modifiedframework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/Activator.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/applications/ChatRobotApplication.java
The file was modifiedframework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/GenericContainerInstantiator.java
The file was modifiedosgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/pom.xml
The file was modifiedframework/bundles/org.eclipse.ecf.remoteservice/pom.xml
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.xmpp/src/org/eclipse/ecf/internal/provider/xmpp/XMPPContainerInstantiator.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.clients/src/org/eclipse/ecf/example/clients/applications/ChatSORobotApplication.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/security/SSLSimpleConcatClient.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice/META-INF/MANIFEST.MF
The file was modifiedframework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/SSLGenericContainerInstantiator.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.discovery/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice/src/org/eclipse/ecf/tests/remoteservice/AbstractRemoteServiceTest.java
The file was modifiedexamples/bundles/org.eclipse.ecf.example.pubsub/src/org/eclipse/ecf/pubsub/model/impl/AgentBase.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests/META-INF/MANIFEST.MF
The file was modifiedosgi/bundles/org.eclipse.ecf.osgi.services.remoteserviceadmin/src/org/eclipse/ecf/osgi/services/remoteserviceadmin/RemoteServiceAdmin.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.remoteservice.generic/security/SSLRemoteServiceProxyTest.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.rss/src/org/eclipse/ecf/internal/provider/rss/container/RssClientSOContainer.java
The file was modifiedframework/bundles/org.eclipse.ecf.remoteservice.rest/pom.xml
The file was modifiedexamples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/SharedObjectMsg.java
The file was modifiedframework/bundles/org.eclipse.ecf.remoteservice.rest/src/org/eclipse/ecf/remoteservice/rest/client/RestClientService.java
The file was modifiedtests/bundles/org.eclipse.ecf.tests.apache.httpclient.server/pom.xml
The file was modifiedserver-side/bundles/org.eclipse.ecf.server.generic/src/org/eclipse/ecf/server/generic/app/SSLAbstractGenericClientApplication.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.remoteservice/META-INF/MANIFEST.MF
The file was modifiedframework/bundles/org.eclipse.ecf.discovery.ui.model/src/org/eclipse/ecf/discovery/ui/model/impl/IServiceInfoImpl.java
The file was modifiedproviders/bundles/org.eclipse.ecf.provider.jmdns/META-INF/MANIFEST.MF
The file was modifiedtests/bundles/org.eclipse.ecf.tests.sharedobject/META-INF/MANIFEST.MF
Commit 67f29b0a591b01af5939d12b5a4e5c49259e2b70 by Peter Hermsdorf
Bug 568174 using invalid host name produces misleading error

force validation of URI by calling parseServerAuthority

Change-Id: I7008e273ded75ca915f9233a022954fdfc737db9
The file was modifiedframework/bundles/org.eclipse.ecf.provider/src/org/eclipse/ecf/provider/generic/TCPServerSOContainer.java