Skip to content

Commit

Permalink
Fix more camelCase to Uppercase as to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris2011 committed Dec 26, 2024
1 parent c637a7f commit d29a263
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public void panelActivated(Lookup context) {
}

if (fileChangeListener == null) {
fileChangeListener = new SvgFileChangeAdapter();
fileChangeListener = new SVGFileChangeAdapter();
}
currentDataObject.getPrimaryFile().addFileChangeListener(fileChangeListener);
setNewContent(currentDataObject);
Expand Down Expand Up @@ -150,7 +150,7 @@ private void setNewContent(final DataObject dataObject) {
SVGLoader svgLoader = new SVGLoader();
SVGDocument svgDocument = svgLoader.load(fo.toURL());

SwingUtilities.invokeLater(() -> panelUI.setSvg(svgDocument));
SwingUtilities.invokeLater(() -> panelUI.setSVG(svgDocument));
} catch (Exception ex) {
LOG.log(Level.SEVERE, ex.getMessage());
}
Expand Down Expand Up @@ -187,7 +187,7 @@ public void resultChanged(LookupEvent ev) {
}
}

private class SvgFileChangeAdapter extends FileChangeAdapter {
private class SVGFileChangeAdapter extends FileChangeAdapter {

@Override
public void fileChanged(final FileEvent fe) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class SVGPreviewPanel extends JPanel {
private final Color background = UIManager.getColor("Table.background");
private final Color foreground = UIManager.getColor("Table.foreground");

public void setSvg(SVGDocument svgDoc) {
public void setSVG(SVGDocument svgDoc) {
this.svgDocument = svgDoc;
this.setBackground(background);
this.revalidate();
Expand Down

0 comments on commit d29a263

Please sign in to comment.