diff options
Diffstat (limited to 'org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java')
-rw-r--r-- | org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java index a0b29d5b9..69ae72979 100644 --- a/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java +++ b/org.eclipse.mylyn.trac.core/src/org/eclipse/mylyn/internal/trac/core/util/TracHttpClientTransportFactory.java @@ -102,15 +102,15 @@ public class TracHttpClientTransportFactory implements XmlRpcTransportFactory { try { return method.getResponseBodyAsStream(); } catch (HttpException e) { - throw new XmlRpcClientException("Error in HTTP transport: " + e.getMessage(), e); + throw new XmlRpcClientException("Error in HTTP transport: " + e.getMessage(), e); //$NON-NLS-1$ } catch (IOException e) { - throw new XmlRpcClientException("I/O error in server communication: " + e.getMessage(), e); + throw new XmlRpcClientException("I/O error in server communication: " + e.getMessage(), e); //$NON-NLS-1$ } } @Override protected String getUserAgent() { - return WebUtil.getUserAgent(""); + return WebUtil.getUserAgent(""); //$NON-NLS-1$ } @Override @@ -174,7 +174,7 @@ public class TracHttpClientTransportFactory implements XmlRpcTransportFactory { } public String getContentType() { - return "text/xml"; + return "text/xml"; //$NON-NLS-1$ } public boolean isRepeatable() { @@ -222,10 +222,10 @@ public class TracHttpClientTransportFactory implements XmlRpcTransportFactory { if (t instanceof XmlRpcException) { throw (XmlRpcException) t; } else { - throw new XmlRpcException("Unexpected exception: " + t.getMessage(), t); + throw new XmlRpcException("Unexpected exception: " + t.getMessage(), t); //$NON-NLS-1$ } } catch (IOException e) { - throw new XmlRpcException("I/O error while communicating with HTTP server: " + e.getMessage(), e); + throw new XmlRpcException("I/O error while communicating with HTTP server: " + e.getMessage(), e); //$NON-NLS-1$ } } @@ -238,7 +238,7 @@ public class TracHttpClientTransportFactory implements XmlRpcTransportFactory { private AuthScheme authScheme; public TracHttpException(int responseCode) { - super(responseCode, "HTTP Error " + responseCode); + super(responseCode, "HTTP Error " + responseCode); //$NON-NLS-1$ } public AuthScheme getAuthScheme() { |