From 3cd892c85d9113c4f327ae814d323ef656e26eca Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Fri, 31 Jul 2026 07:49:50 +0000
Subject: [PATCH] Add explicit default clauses to switches flagged by java/missing-case-in-switch (#791)
---
opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistoricalSingle.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistoricalSingle.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistoricalSingle.java
index 4e3e06c..555dbd1 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistoricalSingle.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/AttrHistoricalSingle.java
@@ -13,6 +13,7 @@
*
* Copyright 2008-2010 Sun Microsystems, Inc.
* Portions Copyright 2011-2016 ForgeRock AS.
+ * Portions Copyright 2026 3A Systems, LLC.
*/
package org.opends.server.replication.plugin;
@@ -102,6 +103,9 @@
case INCREMENT:
/* FIXME : we should update CSN */
break;
+ default:
+ // No action needed for the remaining values.
+ break;
}
}
@@ -261,6 +265,9 @@
case INCREMENT:
/* FIXME : we should update CSN */
break;
+ default:
+ // No action needed for the remaining values.
+ break;
}
return conflict;
}
--
Gitblit v1.10.0