File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
main/java/com/flowingcode/addons/applayout
test/java/com/flowingcode/addons/applayout Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 3939 * Component that renders a paper-card
4040 *
4141 * @author mlopez
42- *
42+ * @deprecated This component will be removed in a future version.
4343 */
4444@ SuppressWarnings ("serial" )
4545@ HtmlImport ("bower_components/paper-card/paper-card.html" )
4646@ Tag ("paper-card" )
47+ @ Deprecated
4748public class PaperCard extends Component implements HasSize , HasStyle , ThemableLayout {
4849
4950 private final Div cardContentDiv = new Div ();
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ private MenuItem[] createMenuItems() {
213213 };
214214 }
215215
216+ @ SuppressWarnings ("deprecation" )
216217 private void showContent (String content ) {
217218 container .setClassName ("" );
218219 container .removeAll ();
@@ -225,6 +226,7 @@ private void showContent(String content) {
225226 container .add (pc );
226227 }
227228
229+ @ SuppressWarnings ("deprecation" )
228230 private void showHamletContent () {
229231 InputStream in = this .getClass ().getClassLoader ().getResourceAsStream ("hamlet" );
230232 String text = new BufferedReader (new InputStreamReader (in )).lines ().collect (Collectors .joining ("\n " ));
You can’t perform that action at this time.
0 commit comments