Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Erdfelt2014-12-19 20:57:49 +0000
committerJoakim Erdfelt2015-03-12 17:09:30 +0000
commit4435ba3c2ba8f58fd0d1b057fbb29f4b9424a2c8 (patch)
treeafb803bffbd06420e6ddf3b272a75c7e364d3851 /jetty-websocket
parent1f3097ff162ea4198f9979fed09b19ef49f69572 (diff)
downloadorg.eclipse.jetty.project-4435ba3c2ba8f58fd0d1b057fbb29f4b9424a2c8.tar.gz
org.eclipse.jetty.project-4435ba3c2ba8f58fd0d1b057fbb29f4b9424a2c8.tar.xz
org.eclipse.jetty.project-4435ba3c2ba8f58fd0d1b057fbb29f4b9424a2c8.zip
cleaning up build warnings
Diffstat (limited to 'jetty-websocket')
-rw-r--r--jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/MemoryUsageTest.java4
-rw-r--r--jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/scopes/WebSocketHandshakeScope.java36
2 files changed, 2 insertions, 38 deletions
diff --git a/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/MemoryUsageTest.java b/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/MemoryUsageTest.java
index 854f28e75d..93221bc7c1 100644
--- a/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/MemoryUsageTest.java
+++ b/jetty-websocket/javax-websocket-server-impl/src/test/java/org/eclipse/jetty/websocket/jsr356/server/MemoryUsageTest.java
@@ -114,8 +114,8 @@ public class MemoryUsageTest
long heapUsed = heapAfter.getUsed() - heapBefore.getUsed();
long nonHeapUsed = nonHeapAfter.getUsed() - nonHeapBefore.getUsed();
-// System.out.println("heapUsed = " + heapUsed);
-// System.out.println("nonHeapUsed = " + nonHeapUsed);
+ System.out.println("heapUsed = " + heapUsed);
+ System.out.println("nonHeapUsed = " + nonHeapUsed);
// new CountDownLatch(1).await();
// Assume no more than 25 KiB per session pair (client and server).
diff --git a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/scopes/WebSocketHandshakeScope.java b/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/scopes/WebSocketHandshakeScope.java
deleted file mode 100644
index 86bafce659..0000000000
--- a/jetty-websocket/websocket-common/src/main/java/org/eclipse/jetty/websocket/common/scopes/WebSocketHandshakeScope.java
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// ========================================================================
-// Copyright (c) 1995-2014 Mort Bay Consulting Pty. Ltd.
-// ------------------------------------------------------------------------
-// All rights reserved. This program and the accompanying materials
-// are made available under the terms of the Eclipse Public License v1.0
-// and Apache License v2.0 which accompanies this distribution.
-//
-// The Eclipse Public License is available at
-// http://www.eclipse.org/legal/epl-v10.html
-//
-// The Apache License v2.0 is available at
-// http://www.opensource.org/licenses/apache2.0.php
-//
-// You may elect to redistribute this code under either of these licenses.
-// ========================================================================
-//
-
-package org.eclipse.jetty.websocket.common.scopes;
-
-import org.eclipse.jetty.websocket.api.UpgradeRequest;
-import org.eclipse.jetty.websocket.api.UpgradeResponse;
-
-/**
- * Defined Scope for a WebSocket Handshake/Upgrade
- */
-public interface WebSocketHandshakeScope
-{
- Class<?> getPotentialEndpointClass();
-
- UpgradeRequest getHandshakeRequest();
-
- UpgradeResponse getHandshakeResponse();
-
- WebSocketContainerScope getContainerScope();
-}

Back to the top