Skip to content

Commit

Permalink
Removed println
Browse files Browse the repository at this point in the history
  • Loading branch information
bagarozzi committed Jul 8, 2024
1 parent e3003aa commit ef8b3d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/it/unibo/bombardero/view/ResourceGetter.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public BufferedImage loadImage(final String name) {
*/
public Font loadFont(final String name) {
try {
System.out.println(RESOURCE_PATH + FONT_PATH + name + FONT_EXTENSION);
final InputStream inputStream = ClassLoader.getSystemClassLoader()
.getResourceAsStream(RESOURCE_PATH + FONT_PATH + name + FONT_EXTENSION);
return Font.createFont(Font.TRUETYPE_FONT, inputStream);
Expand Down

0 comments on commit ef8b3d0

Please sign in to comment.