Skip to content

Commit

Permalink
[#60feature/#60-restlib] refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: huluvu424242 <huluvu424242@gmail.com>
  • Loading branch information
Huluvu424242 committed Jan 28, 2023
1 parent 6b6ce08 commit cd5cabc
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
import static java.util.Arrays.stream;

class Zugang {
public String host;
public String userName;
public String password;
public String host; // NOSONAR java:S1104
public String userName; // NOSONAR java:S1104
public String password; // NOSONAR java:S1104
}

public class Zugangsdatensammler {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
import org.slf4j.LoggerFactory;

class Period {
public long duration;
public TimeUnit durationTimeUnit;
public long duration; // NOSONAR java:S1104
public TimeUnit durationTimeUnit; // NOSONAR java:S1104
}

public class RealTimer implements Timer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,12 @@ public void mouseClicked(MouseEvent e) {
}
}
});
// trayIcon.addActionListener(e -> {
// LOGGER.debug("Mouseklick links doppelt");
// statusArea.setVisible(!statusArea.isVisible());
// });
/** NOSONAR java:S125
trayIcon.addActionListener(e -> {
LOGGER.debug("Mouseklick links doppelt");
statusArea.setVisible(!statusArea.isVisible());
});
*/
trayWrapper.add(trayIcon);
} else {
imageGenerator.drawImage((BufferedImage) trayIcon.getImage(), 100, 100);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ protected JPanel createGoldsteinPanel() {

protected static Image getLogoImage() {
return ImageGenerator.getMinervaLogo().getImage();
// return ImageGenerator.convertIconToImage(UIManager.getIcon("FileChooser.detailsViewIcon"));
}

}
11 changes: 7 additions & 4 deletions src/site/site.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</gitHub>
<ohloh>
<projectId>jenkinsmonitor</projectId>
<!--<projectId>735033</projectId>-->
<!-- projectId 735033 projectId -->
<widget>factoids</widget>
</ohloh>
<googlePlusOne/>
Expand All @@ -61,9 +61,12 @@
<!--<href>https://github.com/Huluvu424242/rades-annotations</href>-->
<!--</bannerLeft>-->

<!--<bannerRight>-->
<!--<src>http://maven.apache.org/images/maven-logo-2.gif</src>-->
<!--</bannerRight>-->
<!-- NOSONAR xml:S125
<bannerRight>
<src>http://maven.apache.org/images/maven-logo-2.gif</src>
</bannerRight>
-->

<body>
<menu name="RADES Universum">
Expand Down

0 comments on commit cd5cabc

Please sign in to comment.