Skip to content

Commit

Permalink
Merge pull request #112 from jenkinsci/ball-color-deprecated
Browse files Browse the repository at this point in the history
Mark usage of `BallColor` as deprecated
  • Loading branch information
uhafner authored Jul 15, 2021
2 parents c170329 + 05210cf commit b15a827
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/io/jenkins/plugins/util/JenkinsFacade.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,10 @@ private AuthorizationStrategy getAuthorizationStrategy() {
* the color
*
* @return the absolute URL
* @deprecated BallColor should not be used anymore, use the {@code icon} tag in jelly views or the icon class name
* of {@link BallColor}
*/
@Deprecated
public String getImagePath(final BallColor color) {
return getContextPath() + "/images/16x16/" + color.getImage();
}
Expand Down

0 comments on commit b15a827

Please sign in to comment.