Skip to content

Commit 96bfef3

Browse files
committed
clean up copyright and import statements
1 parent e15a87d commit 96bfef3

File tree

9 files changed

+70
-26
lines changed

9 files changed

+70
-26
lines changed

src/com/danga/MemCached/ByteBufArrayInputStream.java

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
/**
2-
* src/com/danga/MemCached/ByteBufArrayInputStream.java
2+
* Copyright (c) 2007 Greg Whalin
3+
* All rights reserved.
34
*
4-
* @author $Author: $
5-
* @version $Revision: $ $Date: $
6-
* copyright (c) 2006 meetup, inc
5+
* This library is free software; you can redistribute it and/or
6+
* modify it under the terms of the BSD license
77
*
8-
* $Id: $
8+
* This library is distributed in the hope that it will be
9+
* useful, but WITHOUT ANY WARRANTY; without even the implied
10+
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11+
* PURPOSE.
12+
*
13+
* You should have received a copy of the BSD License along with this
14+
* library.
15+
*
16+
* @author greg whalin <[email protected]>
17+
* @version 2.0
918
*/
1019
package com.danga.MemCached;
1120

src/com/danga/MemCached/ContextObjectInputStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* class loader.
2121
*
2222
* @author Vin Chawla <[email protected]>
23-
* @version 1.5.2
23+
* @version 2.0
2424
*/
2525
package com.danga.MemCached;
2626

src/com/danga/MemCached/ErrorHandler.java

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
1-
package com.danga.MemCached;
2-
31
/**
2+
* MemCached Java client
3+
* Copyright (c) 2007 Greg Whalin
4+
* All rights reserved.
5+
*
6+
* This library is free software; you can redistribute it and/or
7+
* modify it under the terms of the BSD license
8+
*
9+
* This library is distributed in the hope that it will be
10+
* useful, but WITHOUT ANY WARRANTY; without even the implied
11+
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12+
* PURPOSE.
13+
*
14+
* You should have received a copy of the BSD License along with this
15+
* library.
16+
*
417
* This is an interface implemented by classes that want to receive callbacks
518
* in the event of an error in {@link MemCachedClient}. The implementor can do
619
* things like flush caches or perform additioonal logging.
720
*
821
* @author Dan Zivkovic <[email protected]>
9-
* @version 1.5
22+
* @version 2.0
1023
*/
24+
package com.danga.MemCached;
25+
1126
public interface ErrorHandler {
1227

1328
/**

src/com/danga/MemCached/LineInputStream.java

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,21 @@
11
/**
2-
* src/com/danga/MemCached/LineInputStream.java
2+
* MemCached Java client
3+
* Copyright (c) 2007 Greg Whalin
4+
* All rights reserved.
35
*
4-
* @author $Author: $
5-
* @version $Revision: $ $Date: $
6-
* copyright (c) 2006 meetup, inc
6+
* This library is free software; you can redistribute it and/or
7+
* modify it under the terms of the BSD license
78
*
8-
* $Id: $
9+
* This library is distributed in the hope that it will be
10+
* useful, but WITHOUT ANY WARRANTY; without even the implied
11+
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12+
* PURPOSE.
13+
*
14+
* You should have received a copy of the BSD License along with this
15+
* library.
16+
*
17+
* @author greg whalin <[email protected]>
18+
* @version 2.0
919
*/
1020
package com.danga.MemCached;
1121

src/com/danga/MemCached/Logger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* library.
1616
*
1717
* @author Greg Whalin <[email protected]>
18-
* @version 1.5.2
18+
* @version 2.0
1919
*/
2020
package com.danga.MemCached;
2121

src/com/danga/MemCached/MemCachedClient.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,7 @@
1515
* library.
1616
*
1717
* @author Greg Whalin <[email protected]>
18-
* @author Richard 'toast' Russo <[email protected]>
19-
* @author Kevin Burton <[email protected]>
20-
* @author Robert Watts <[email protected]>
21-
* @author Vin Chawla <[email protected]>
22-
* @version 1.5.2
18+
* @version 2.0
2319
*/
2420
package com.danga.MemCached;
2521

src/com/danga/MemCached/NativeHandler.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@
1414
* You should have received a copy of the BSD License along with this
1515
* library.
1616
*
17-
* @author Kevin A. Burton <[email protected]>
1817
* @author Greg Whalin <[email protected]>
19-
* @version 1.5.2
18+
* @version 2.0
2019
*/
2120
package com.danga.MemCached;
2221

src/com/danga/MemCached/NestedIOException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* library.
1616
*
1717
* @author Kevin A. Burton <[email protected]>
18-
* @version 1.5.2
18+
* @version 2.0
1919
*/
2020
package com.danga.MemCached;
2121

src/com/danga/MemCached/SockIOPool.java

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,29 @@
1515
* library.
1616
*
1717
* @author greg whalin <[email protected]>
18-
* @author Richard 'toast' Russo <[email protected]>
19-
* @version 1.5.2
18+
* @version 2.0
2019
*/
2120
package com.danga.MemCached;
2221

2322
import java.security.MessageDigest;
2423
import java.security.NoSuchAlgorithmException;
25-
import java.util.*;
24+
25+
// java.util
26+
import java.util.Map;
27+
import java.util.List;
28+
import java.util.Set;
29+
import java.util.Iterator;
30+
import java.util.ArrayList;
31+
import java.util.IdentityHashMap;
32+
import java.util.HashMap;
33+
import java.util.HashSet;
34+
import java.util.Date;
35+
import java.util.Arrays;
36+
import java.util.TreeMap;
37+
38+
// java 5 support needs a backported TreeMap library
39+
// one exists at http://backport-jsr166.sourceforge.net/index.php
40+
2641
import java.util.zip.*;
2742
import java.net.*;
2843
import java.io.*;

0 commit comments

Comments
 (0)