From ff9b49ad76234e3b60512fc479343030a6b367ad Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Wed, 18 Aug 2010 09:47:15 +0000
Subject: [PATCH] Cleanup. Remove references to Java 5 since we no longer support it. Cleanup messages, removing unnecessary casts (due to bugs in early versions of Java 5), removing dead code. The minimal version has been set to Java 1.6.0_10. Also cleanup the Java Stubs for MacOS, removed the StatusPanel (replaced by ControlPanel since 1.2), and update Info.plist to require 1.6 or higher, show 2.3 as version.

---
 opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java b/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
index 888b219..d29039b 100644
--- a/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
+++ b/opends/src/server/org/opends/server/tools/dsconfig/SetPropSubCommandHandler.java
@@ -389,10 +389,8 @@
     try {
       for (PropertyDefinition<?> pd : d.getAllPropertyDefinitions()) {
         if (pd instanceof AggregationPropertyDefinition<?,?>) {
-          // Runtime cast is required to workaround a
-          // bug in JDK versions prior to 1.5.0_08.
           AggregationPropertyDefinition<?, ?> apd =
-            AggregationPropertyDefinition.class.cast(pd);
+            (AggregationPropertyDefinition<?, ?>)pd;
 
           // Skip this aggregation if the referenced managed objects
           // do not need to be enabled.

--
Gitblit v1.10.0