Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit ee6afc4

Browse files
committed
-_
1 parent b564272 commit ee6afc4

File tree

8 files changed

+0
-10
lines changed

8 files changed

+0
-10
lines changed

src/main/java/com/kttdevelopment/simplehttpserver/ContextUtil.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
*/
1010
public abstract class ContextUtil {
1111

12-
1312
/**
1413
* Generates a uniform context with forward slashes removing any consecutive slashes.
1514
*

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpExchangeImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ public final int getResponseCode(){
299299

300300
//
301301

302-
303302
@Override
304303
public final Map<String, String> getCookies(){
305304
return new HashMap<>(cookies);

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpServerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ public synchronized final String getRandomContext(final String context){
231231
return targetContext;
232232
}
233233

234-
235234
//
236235

237236
@Override

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpsServer.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public static SimpleHttpsServer create(final int port, final int backlog) throws
9696
@Override
9797
public abstract HttpsServer getHttpServer();
9898

99-
10099
//
101100

102101
/**

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpsServerImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ public synchronized final String getRandomContext(final String context){
243243
return targetContext;
244244
}
245245

246-
247246
//
248247

249248
@Override

src/main/java/com/kttdevelopment/simplehttpserver/handler/DirectoryEntry.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ public final FileVisitResult visitFile(final Path path, final BasicFileAttribute
133133
}
134134
}
135135

136-
137136
private final Map<Path,AtomicBoolean> watchService = new ConcurrentHashMap<>();
138137

139138
private void createWatchService(final Path path, final Consumer<WatchEvent<?>> consumer) throws IOException{

src/main/java/com/kttdevelopment/simplehttpserver/handler/FileHandler.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ public final void addFile(final File file, final String fileName, final ByteLoad
151151
addFile("",file,fileName,loadingOption);
152152
}
153153

154-
155154
/**
156155
* Adds a file to the handler at a specified context.
157156
*
@@ -245,7 +244,6 @@ public final void addFile(final String context, final File file, final String fi
245244

246245
//
247246

248-
249247
/**
250248
* Adds multiple files to the handler.
251249
*
@@ -278,7 +276,6 @@ public final void addFiles(final File[] files, final ByteLoadingOption loadingOp
278276
addFiles("",files,loadingOption);
279277
}
280278

281-
282279
/**
283280
* Adds multiple files to the handler at a specified context.
284281
*

src/test/java/com/kttdevelopment/simplehttpserver/simplehttpserver/SimpleHttpServerContextTests.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ public final void createSlashedContext() throws IOException{
133133
Assert.assertEquals("Context [" + root + "] should correct to \"/\"","/",server.createContext(root).getPath());
134134
}
135135

136-
137136
@Test// (expected = IllegalArgumentException.class)
138137
public final void createDuplicateContext() throws IOException{
139138
final SimpleHttpServer server = SimpleHttpServer.create();

0 commit comments

Comments
 (0)