From 12b0ce03d0029bb96bb23cc288ea351a8a1bec75 Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 07 Dec 2007 17:36:12 +0000
Subject: [PATCH] This relates to issue 2661 "public APIs must not reference private classes".
---
opends/src/messages/src/org/opends/messages/Category.java | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/opends/src/messages/src/org/opends/messages/Category.java b/opends/src/messages/src/org/opends/messages/Category.java
index c5046e4..b2d33c2 100644
--- a/opends/src/messages/src/org/opends/messages/Category.java
+++ b/opends/src/messages/src/org/opends/messages/Category.java
@@ -36,6 +36,11 @@
* server components. Categories contain an in value that can be
* used as a mask for bitwise operations.
*/
+@org.opends.server.types.PublicAPI(
+ stability=org.opends.server.types.StabilityLevel.UNCOMMITTED,
+ mayInstantiate=false,
+ mayExtend=false,
+ mayInvoke=true)
public enum Category {
/**
@@ -186,7 +191,7 @@
return MASK_VALUE_MAP.get(mask);
}
- private int mask;
+ private final int mask;
/**
* Gets the mask value associated with this category.
--
Gitblit v1.10.0