From 884c76c873708430081e906d7fe36556d2360c1b Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 13 Aug 2007 15:15:45 +0000
Subject: [PATCH] Add a new @PublicAPI annotation type that can be used later to mark OpenDS packages, classes, and methods to indicate what part (if any) they play in the OpenDS public API.  This annotation type can be useful for documentation purposes, for helping to verify whether third-party code is using appropriate interfaces, and ensuring that what we declare as our public API does not change in an inappropriate way between releases.

---
 opendj-sdk/opends/build.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/build.xml b/opendj-sdk/opends/build.xml
index edbe8b4..267911b 100644
--- a/opendj-sdk/opends/build.xml
+++ b/opendj-sdk/opends/build.xml
@@ -373,7 +373,8 @@
 
     <checkstyle config="${checkstyle.dir}/opends-checkstyle.xml"
          failOnViolation="true">
-      <fileset dir="${src.dir}" includes="**/*.java" />
+      <fileset dir="${src.dir}" includes="**/*.java"
+           excludes="**/PublicAPI.java" />
       <formatter type="plain" />
     </checkstyle>
 
@@ -401,7 +402,7 @@
       <fileset dir="${src.dir}/org/opends/server/protocols/internal"
            includes="**/*.java" />
       <fileset dir="${src.dir}/org/opends/server/types"
-           includes="**/*.java" />
+           includes="**/*.java" excludes="**/PublicAPI.java"/>
       <formatter type="plain" />
     </checkstyle>
 

--
Gitblit v1.10.0