cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asold...@apache.org
Subject svn commit: r987852 - in /cxf/trunk/rt/frontend/jaxws: pom.xml src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletRequestAdapter.java src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletResponseAdapter.java
Date Sun, 22 Aug 2010 08:54:38 GMT
Author: asoldano
Date: Sun Aug 22 08:54:37 2010
New Revision: 987852

URL: http://svn.apache.org/viewvc?rev=987852&view=rev
Log:
[CXF-2845] Removing dependency on commons-lang

Modified:
    cxf/trunk/rt/frontend/jaxws/pom.xml
    cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletRequestAdapter.java
    cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletResponseAdapter.java

Modified: cxf/trunk/rt/frontend/jaxws/pom.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/pom.xml?rev=987852&r1=987851&r2=987852&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/pom.xml (original)
+++ cxf/trunk/rt/frontend/jaxws/pom.xml Sun Aug 22 08:54:37 2010
@@ -63,10 +63,6 @@
             <artifactId>asm</artifactId>
         </dependency>
         <dependency>
-            <groupId>commons-lang</groupId>
-            <artifactId>commons-lang</artifactId>
-        </dependency>
-        <dependency>
             <groupId>org.apache.cxf</groupId>
             <artifactId>cxf-api</artifactId>
             <version>${project.version}</version>

Modified: cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletRequestAdapter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletRequestAdapter.java?rev=987852&r1=987851&r2=987852&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletRequestAdapter.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletRequestAdapter.java
Sun Aug 22 08:54:37 2010
@@ -50,8 +50,6 @@ import javax.servlet.http.Part;
 import javax.xml.ws.spi.http.HttpContext;
 import javax.xml.ws.spi.http.HttpExchange;
 
-import org.apache.commons.lang.NotImplementedException;
-
 /**
  * This class provides a HttpServletRequest instance using information
  * coming from the HttpExchange and HttpContext instances provided
@@ -73,7 +71,7 @@ class HttpServletRequestAdapter implemen
     }
 
     public AsyncContext getAsyncContext() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public Object getAttribute(String name) {
@@ -97,7 +95,7 @@ class HttpServletRequestAdapter implemen
     }
 
     public DispatcherType getDispatcherType() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public ServletInputStream getInputStream() throws IOException {
@@ -123,7 +121,7 @@ class HttpServletRequestAdapter implemen
     }
 
     public Enumeration<Locale> getLocales() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getLocalName() {
@@ -143,19 +141,19 @@ class HttpServletRequestAdapter implemen
     }
 
     public String getParameter(String name) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public Map<String, String[]> getParameterMap() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public Enumeration<String> getParameterNames() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String[] getParameterValues(String name) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getProtocol() {
@@ -174,7 +172,7 @@ class HttpServletRequestAdapter implemen
 
     @Deprecated
     public String getRealPath(String path) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getRemoteAddr() {
@@ -205,7 +203,7 @@ class HttpServletRequestAdapter implemen
     }
 
     public RequestDispatcher getRequestDispatcher(String path) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getScheme() {
@@ -225,15 +223,15 @@ class HttpServletRequestAdapter implemen
     }
 
     public boolean isAsyncStarted() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public boolean isAsyncSupported() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public boolean isSecure() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void removeAttribute(String name) {
@@ -249,15 +247,15 @@ class HttpServletRequestAdapter implemen
     }
 
     public AsyncContext startAsync() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public AsyncContext startAsync(ServletRequest request, ServletResponse response) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public boolean authenticate(HttpServletResponse response) throws IOException, ServletException
{
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getAuthType() {
@@ -300,11 +298,11 @@ class HttpServletRequestAdapter implemen
     }
 
     public Part getPart(String name) throws IOException, ServletException {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public Collection<Part> getParts() throws IOException, ServletException {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getPathInfo() {
@@ -363,16 +361,16 @@ class HttpServletRequestAdapter implemen
     }
 
     public boolean isRequestedSessionIdFromCookie() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     @Deprecated
     public boolean isRequestedSessionIdFromUrl() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public boolean isRequestedSessionIdFromURL() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public boolean isRequestedSessionIdValid() {
@@ -384,11 +382,11 @@ class HttpServletRequestAdapter implemen
     }
 
     public void login(String username, String password) throws ServletException {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void logout() throws ServletException {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
     
     private class ServletInputStreamAdapter extends ServletInputStream {

Modified: cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletResponseAdapter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletResponseAdapter.java?rev=987852&r1=987851&r2=987852&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletResponseAdapter.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/jaxws22/org/apache/cxf/transport/http_jaxws_spi/HttpServletResponseAdapter.java
Sun Aug 22 08:54:37 2010
@@ -34,8 +34,6 @@ import javax.servlet.http.Cookie;
 import javax.servlet.http.HttpServletResponse;
 import javax.xml.ws.spi.http.HttpExchange;
 
-import org.apache.commons.lang.NotImplementedException;
-
 /**
  * This class provides a HttpServletResponse instance using information
  * coming from the HttpExchange instance provided
@@ -63,7 +61,7 @@ class HttpServletResponseAdapter impleme
     }
 
     public int getBufferSize() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getCharacterEncoding() {
@@ -102,15 +100,15 @@ class HttpServletResponseAdapter impleme
     }
 
     public void reset() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void resetBuffer() {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void setBufferSize(int size) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void setCharacterEncoding(String charset) {
@@ -118,7 +116,7 @@ class HttpServletResponseAdapter impleme
     }
 
     public void setContentLength(int len) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void setContentType(String type) {
@@ -132,7 +130,7 @@ class HttpServletResponseAdapter impleme
     }
 
     public void addCookie(Cookie cookie) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void addDateHeader(String name, long date) {
@@ -152,21 +150,21 @@ class HttpServletResponseAdapter impleme
     }
 
     public String encodeURL(String url) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String encodeRedirectURL(String url) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     @Deprecated
     public String encodeUrl(String url) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     @Deprecated
     public String encodeRedirectUrl(String url) {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public String getHeader(String name) {
@@ -196,7 +194,7 @@ class HttpServletResponseAdapter impleme
     }
 
     public void sendRedirect(String location) throws IOException {
-        throw new NotImplementedException();
+        throw new UnsupportedOperationException();
     }
 
     public void setDateHeader(String name, long date) {



Mime
View raw message