From 6af27032f03ac2b79aa92b20cbf6094d553a22b7 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 12 Oct 2006 05:27:32 +0000
Subject: [PATCH] Update code in the org.opends.server.util package to use the Validator.ensureNotNull method for arguments that are not allowed to be null, and also update the javadoc for the corresponding @param tags to indicate this.
---
opendj-sdk/opends/src/server/org/opends/server/util/LDIFException.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/util/LDIFException.java b/opendj-sdk/opends/src/server/org/opends/server/util/LDIFException.java
index b55bd08..05e70a0 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/util/LDIFException.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/util/LDIFException.java
@@ -36,7 +36,7 @@
* This class defines an exception that may be thrown while attempting to parse
* LDIF content.
*/
-public class LDIFException
+public final class LDIFException
extends Exception
{
/**
@@ -60,13 +60,13 @@
// Indicates whether this exception is severe enough that it is no longer
// possible to keep reading.
- private boolean canContinueReading;
+ private final boolean canContinueReading;
// The line number of the last line read from the LDIF source.
- private long lineNumber;
+ private final long lineNumber;
// The unique message ID for the associated message.
- private int messageID;
+ private final int messageID;
--
Gitblit v1.10.0