From 84e8e5ba2f68f17ec546b48ace050591e8dbc98c Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 25 Feb 2015 13:48:04 +0000
Subject: [PATCH] AutoRefactor: remove unnecessary casts
---
opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/ASN1ReaderTestCase.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/ASN1ReaderTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/ASN1ReaderTestCase.java
index 2d69d89..fd4ce7b 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/ASN1ReaderTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/ASN1ReaderTestCase.java
@@ -352,7 +352,7 @@
// Next, test with a nonstandard Boolean type.
- elementArray[0] = (byte) 0x50;
+ elementArray[0] = 0x50;
assertEquals(getReader(elementArray, 0).readBoolean(), (b[0] != 0x00));
}
@@ -376,7 +376,7 @@
// Next, test with a nonstandard Boolean type.
- elementArray[0] = (byte) 0x50;
+ elementArray[0] = 0x50;
assertEquals(getReader(elementArray, 0).readBoolean(), (b[0] != 0x00));
}
@@ -399,7 +399,7 @@
/**
* Tests the <CODE>decodeAsBoolean</CODE> method that takes a byte array
- * argument with an array that takes too many bytes to expressthe length.
+ * argument with an array that takes too many bytes to express the length.
*
* @throws Exception If an unexpected problem occurs.
*/
--
Gitblit v1.10.0