chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1511373 - /chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/AbstractPortProvider.java
Date Wed, 07 Aug 2013 16:22:57 GMT
Author: fmui
Date: Wed Aug  7 16:22:56 2013
New Revision: 1511373

URL: http://svn.apache.org/r1511373
Log:
fixed Java 6 issue

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/AbstractPortProvider.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/AbstractPortProvider.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/AbstractPortProvider.java?rev=1511373&r1=1511372&r2=1511373&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/AbstractPortProvider.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/webservices/AbstractPortProvider.java
Wed Aug  7 16:22:56 2013
@@ -180,13 +180,14 @@ public abstract class AbstractPortProvid
         private final URL endpointUrl;
 
         public CmisServiceHolder(final CmisWebSerivcesService service, final URL endpointUrl)
-                throws ReflectiveOperationException {
+                throws InstantiationException, IllegalAccessException, InvocationTargetException,
NoSuchMethodException {
             this.service = service;
             this.endpointUrl = endpointUrl;
             this.serviceObject = new SoftReference<Service>(createServiceObject());
         }
 
-        private Service createServiceObject() throws ReflectiveOperationException {
+        private Service createServiceObject() throws InstantiationException, IllegalAccessException,
+                InvocationTargetException, NoSuchMethodException {
             final Constructor<? extends Service> serviceConstructor = service.getServiceClass().getConstructor(
                     new Class<?>[] { URL.class, QName.class });
 
@@ -212,7 +213,8 @@ public abstract class AbstractPortProvid
             return service;
         }
 
-        public Service getServiceObject() throws ReflectiveOperationException {
+        public Service getServiceObject() throws InstantiationException, IllegalAccessException,
+                InvocationTargetException, NoSuchMethodException {
             Service result = serviceObject.get();
             if (result == null) {
                 result = createServiceObject();



Mime
View raw message