Skip to content

Commit 30f5806

Browse files
committed
Remove decorative comments
1 parent b11b6a5 commit 30f5806

2 files changed

Lines changed: 1 addition & 56 deletions

File tree

src/main/java/org/apache/commons/codec/binary/BinaryCodec.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,6 @@ public static byte[] fromAscii(final byte[] ascii) {
9797
return raw;
9898
}
9999

100-
// ------------------------------------------------------------------------
101-
//
102-
// static codec operations
103-
//
104-
// ------------------------------------------------------------------------
105100
/**
106101
* Decodes a char array where each char represents an ASCII '0' or '1'.
107102
*

src/test/java/org/apache/commons/codec/binary/BinaryCodecTest.java

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ public class BinaryCodecTest {
6363
/** An instance of the binary codec. */
6464
BinaryCodec instance;
6565

66-
// ------------------------------------------------------------------------
67-
//
68-
// Test decode(byte[])
69-
//
70-
// ------------------------------------------------------------------------
7166
/**
7267
* Utility used to assert the encoded and decoded values.
7368
*
@@ -264,11 +259,6 @@ public void testDecodeObject() throws Exception {
264259
assertDecodeObject(new byte[0], null);
265260
}
266261

267-
// ------------------------------------------------------------------------
268-
//
269-
// Test decode(Object)
270-
//
271-
// ------------------------------------------------------------------------
272262
/**
273263
* Tests for Object decode(Object)
274264
*/
@@ -283,11 +273,6 @@ public void testDecodeObjectException() {
283273
fail("Expected DecoderException");
284274
}
285275

286-
// ------------------------------------------------------------------------
287-
//
288-
// Test encode(byte[])
289-
//
290-
// ------------------------------------------------------------------------
291276
/*
292277
* Tests for byte[] encode(byte[])
293278
*/
@@ -543,11 +528,6 @@ public void testEncodeObjectException() {
543528
fail("Expected EncoderException");
544529
}
545530

546-
// ------------------------------------------------------------------------
547-
//
548-
// Test encode(Object)
549-
//
550-
// ------------------------------------------------------------------------
551531
/*
552532
* Tests for Object encode(Object)
553533
*/
@@ -557,11 +537,6 @@ public void testEncodeObjectNull() throws Exception {
557537
assertEquals(0, ((char[]) instance.encode(obj)).length);
558538
}
559539

560-
// ------------------------------------------------------------------------
561-
//
562-
// Test fromAscii(byte[])
563-
//
564-
// ------------------------------------------------------------------------
565540
/*
566541
* Tests for byte[] fromAscii(byte[])
567542
*/
@@ -653,11 +628,6 @@ public void testFromAsciiByteArray() {
653628
assertEquals(0, BinaryCodec.fromAscii((byte[]) null).length);
654629
}
655630

656-
// ------------------------------------------------------------------------
657-
//
658-
// Test fromAscii(char[])
659-
//
660-
// ------------------------------------------------------------------------
661631
/*
662632
* Tests for byte[] fromAscii(char[])
663633
*/
@@ -749,11 +719,6 @@ public void testFromAsciiCharArray() {
749719
assertEquals(0, BinaryCodec.fromAscii((char[]) null).length);
750720
}
751721

752-
// ------------------------------------------------------------------------
753-
//
754-
// Test toAsciiBytes
755-
//
756-
// ------------------------------------------------------------------------
757722
@Test
758723
public void testToAsciiBytes() {
759724
// With a single raw binary
@@ -872,11 +837,6 @@ public void testToAsciiBytes() {
872837
assertEquals(0, BinaryCodec.toAsciiBytes((byte[]) null).length);
873838
}
874839

875-
// ------------------------------------------------------------------------
876-
//
877-
// Test toAsciiChars
878-
//
879-
// ------------------------------------------------------------------------
880840
@Test
881841
public void testToAsciiChars() {
882842
// With a single raw binary
@@ -995,11 +955,6 @@ public void testToAsciiChars() {
995955
assertEquals(0, BinaryCodec.toAsciiChars((byte[]) null).length);
996956
}
997957

998-
// ------------------------------------------------------------------------
999-
//
1000-
// Test toAsciiString
1001-
//
1002-
// ------------------------------------------------------------------------
1003958
/**
1004959
* Tests the toAsciiString(byte[]) method
1005960
*/
@@ -1120,12 +1075,7 @@ public void testToAsciiString() {
11201075
assertEquals("1111111111111111", l_encoded);
11211076
}
11221077

1123-
// ------------------------------------------------------------------------
1124-
//
1125-
// Test toByteArray(String)
1126-
//
1127-
// ------------------------------------------------------------------------
1128-
/*
1078+
/**
11291079
* Tests for byte[] toByteArray(String)
11301080
*/
11311081
@Test

0 commit comments

Comments
 (0)