src/share/classes/com/sun/tools/doclets/formats/html/MethodWriterImpl.java

changeset 2415
7ceaee0e497b
parent 2413
fe033d997ddf
child 2525
2eb010b6cb22
     1.1 --- a/src/share/classes/com/sun/tools/doclets/formats/html/MethodWriterImpl.java	Thu Dec 19 11:38:45 2013 -0500
     1.2 +++ b/src/share/classes/com/sun/tools/doclets/formats/html/MethodWriterImpl.java	Thu May 29 10:48:00 2014 +0200
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -332,24 +332,6 @@
    1.11      }
    1.12  
    1.13      /**
    1.14 -     * Parse the <Code> tag and return the text.
    1.15 -     */
    1.16 -    protected String parseCodeTag(String tag){
    1.17 -        if(tag == null){
    1.18 -            return "";
    1.19 -        }
    1.20 -
    1.21 -        String lc = StringUtils.toLowerCase(tag);
    1.22 -        int begin = lc.indexOf("<code>");
    1.23 -        int end = lc.indexOf("</code>");
    1.24 -        if(begin == -1 || end == -1 || end <= begin){
    1.25 -            return tag;
    1.26 -        } else {
    1.27 -            return tag.substring(begin + 6, end);
    1.28 -        }
    1.29 -    }
    1.30 -
    1.31 -    /**
    1.32       * {@inheritDoc}
    1.33       */
    1.34      protected static void addImplementsInfo(HtmlDocletWriter writer,

mercurial