langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/markup/Comment.java
changeset 36500 d31e4986dc8b
parent 35426 374342e56a56
child 40587 1c355ea550ed
equal deleted inserted replaced
36499:9d823cc0fe98 36500:d31e4986dc8b
     1 /*
     1 /*
     2  * Copyright (c) 2010, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    73      * @param stringContent string content that needs to be added
    73      * @param stringContent string content that needs to be added
    74      * @throws DocletAbortException this method will always throw a
    74      * @throws DocletAbortException this method will always throw a
    75      *                              DocletAbortException because it
    75      *                              DocletAbortException because it
    76      *                              is not supported.
    76      *                              is not supported.
    77      */
    77      */
    78     public void addContent(String stringContent) {
    78     @Override
       
    79     public void addContent(CharSequence stringContent) {
    79         throw new DocletAbortException("not supported");
    80         throw new DocletAbortException("not supported");
    80     }
    81     }
    81 
    82 
    82     /**
    83     /**
    83      * {@inheritDoc}
    84      * {@inheritDoc}