Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-05-31 13:00:42 -0400
committerEike Stepper2013-05-31 13:00:42 -0400
commit3db23bbc4d9ecd4f0b59ba763e821dd2286252de (patch)
tree905e8b5db34b3e18cf80cdc550ec8f1c9766970a
parent88f71abfcc97e16eb21f8ee898ee1f652c20f20d (diff)
downloadcdo-3db23bbc4d9ecd4f0b59ba763e821dd2286252de.tar.gz
cdo-3db23bbc4d9ecd4f0b59ba763e821dd2286252de.tar.xz
cdo-3db23bbc4d9ecd4f0b59ba763e821dd2286252de.zip
Fix method deprecation handling in Api2Html
-rw-r--r--plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/Api2Html.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/Api2Html.java b/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/Api2Html.java
index f821c1f652..3522b34f4f 100644
--- a/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/Api2Html.java
+++ b/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/Api2Html.java
@@ -159,7 +159,10 @@ public class Api2Html extends DefaultHandler
message = remove(message, " in an interface that is tagged with '@noimplement'");
message = remove(message, " for interface " + typeName);
message = remove(message, " for class " + typeName);
- message = remove(message, " to " + typeName);
+ if (!message.contains("modifier has been"))
+ {
+ message = remove(message, " to " + typeName);
+ }
if (message != null && message.startsWith("The deprecation modifiers has"))
{

Back to the top