cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r737142 - in /cxf/branches/2.0.x-fixes/rt: core/src/main/java/org/apache/cxf/attachment/ core/src/main/java/org/apache/cxf/wsdl11/ transports/jms/src/test/java/org/apache/cxf/transport/jms/
Date Fri, 23 Jan 2009 18:45:31 GMT
Author: dkulp
Date: Fri Jan 23 10:45:31 2009
New Revision: 737142

URL: http://svn.apache.org/viewvc?rev=737142&view=rev
Log:
Fix compile failures

Added:
    cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java
  (with props)
Modified:
    cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/QuotedPrintableDecoderStream.java
    cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties
    cxf/branches/2.0.x-fixes/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java

Modified: cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/QuotedPrintableDecoderStream.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/QuotedPrintableDecoderStream.java?rev=737142&r1=737141&r2=737142&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/QuotedPrintableDecoderStream.java
(original)
+++ cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/attachment/QuotedPrintableDecoderStream.java
Fri Jan 23 10:45:31 2009
@@ -93,8 +93,10 @@
         // space characters are a pain. We need to scan ahead until we find a non-space character.
         // if the character is a line terminator, we need to discard the blanks.
         // scan forward, counting the characters.
-        while ((ch = in.read()) == ' ') {
+        ch = in.read();
+        while (ch == ' ') {
             deferredWhitespace++;
+            ch = in.read();
         }
         // is this a lineend at the current location?
         if (ch == -1 || ch == '\r' || ch == '\n') {

Modified: cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties?rev=737142&r1=737141&r2=737142&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties
(original)
+++ cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/Messages.properties
Fri Jan 23 10:45:31 2009
@@ -27,3 +27,6 @@
 SERVICE_CREATION_MSG = Failed to create service.
 NO_SUCH_SERVICE_EXC = Could not find definition for service {0}.
 FAIL_TO_CREATE_WSDL_DEFINITION = Fail to create wsdl definition from : {0}\r\nCaused by :
{1} 
+MISSING_DESTINATION_FACTORY = Cannot find the destination factory, check the port //wsdl:port[@name='{0}']
+MISSING_SERVICE= No definition of service {0} in the WSDL.
+WSDL4J_BAD_ELEMENT_PART= Part {0} defined as element {1} which is not in the schema.

Added: cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java?rev=737142&view=auto
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java
(added)
+++ cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java
Fri Jan 23 10:45:31 2009
@@ -0,0 +1,42 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.wsdl11;
+
+import org.apache.cxf.common.i18n.Message;
+import org.apache.cxf.common.i18n.UncheckedException;
+
+/**
+ * This exception is thrown for problems processing WSDL
+ * structures. 
+ */
+public class WSDLRuntimeException extends UncheckedException {
+
+    public WSDLRuntimeException(Message msg, Throwable t) {
+        super(msg, t);
+    }
+
+    public WSDLRuntimeException(Message msg) {
+        super(msg);
+    }
+
+    public WSDLRuntimeException(Throwable cause) {
+        super(cause);
+    }
+}

Propchange: cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/branches/2.0.x-fixes/rt/core/src/main/java/org/apache/cxf/wsdl11/WSDLRuntimeException.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/branches/2.0.x-fixes/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java?rev=737142&r1=737141&r2=737142&view=diff
==============================================================================
--- cxf/branches/2.0.x-fixes/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
(original)
+++ cxf/branches/2.0.x-fixes/rt/transports/jms/src/test/java/org/apache/cxf/transport/jms/JMSDestinationTest.java
Fri Jan 23 10:45:31 2009
@@ -28,6 +28,7 @@
 import org.apache.activemq.ActiveMQConnectionFactory;
 import org.apache.cxf.BusFactory;
 import org.apache.cxf.bus.spring.SpringBusFactory;
+import org.apache.cxf.helpers.IOUtils;
 import org.apache.cxf.message.Exchange;
 import org.apache.cxf.message.ExchangeImpl;
 import org.apache.cxf.message.Message;



Mime
View raw message