This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/master by this push:
new b21fa24 Clean up deprecated code.
b21fa24 is described below
commit b21fa24b76c3014483dcab17266ac1f2208fcb66
Author: JamesBognar <[email protected]>
AuthorDate: Fri Oct 16 11:36:34 2020 -0400
Clean up deprecated code.
---
.../java/org/apache/juneau/rest/widget/Widget.java | 27 ----------------------
1 file changed, 27 deletions(-)
diff --git
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/Widget.java
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/Widget.java
index d04facb..76f9d81 100644
---
a/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/Widget.java
+++
b/juneau-rest/juneau-rest-server/src/main/java/org/apache/juneau/rest/widget/Widget.java
@@ -102,15 +102,6 @@ public abstract class Widget implements HtmlWidget {
}
/**
- * Implement {@link #getHtml(RestRequest, RestResponse)}.
- */
- @SuppressWarnings("javadoc")
- @Deprecated
- public String getHtml(RestRequest req) throws Exception {
- return getHtml(req, null);
- }
-
- /**
* Resolves any Javascript that should be added to the
<xt><head>/<script></xt> element.
*
* <p>
@@ -126,15 +117,6 @@ public abstract class Widget implements HtmlWidget {
}
/**
- * Implement {@link #getScript(RestRequest, RestResponse)}.
- */
- @SuppressWarnings("javadoc")
- @Deprecated
- public String getScript(RestRequest req) throws Exception {
- return getScript(req, null);
- }
-
- /**
* Resolves any CSS styles that should be added to the
<xt><head>/<style></xt> element.
*
* <p>
@@ -150,15 +132,6 @@ public abstract class Widget implements HtmlWidget {
}
/**
- * Implement {@link #getStyle(RestRequest, RestResponse)}.
- */
- @SuppressWarnings("javadoc")
- @Deprecated
- public String getStyle(RestRequest req) throws Exception {
- return getStyle(req, null);
- }
-
- /**
* Retrieves the specified classpath resource and returns the contents
as a string.
*
* <p>