The following document contains the results of PMD's CPD 3.7.
File | Line |
---|---|
net\logAnalyzer\utils\gui\quickbar\QuickPanel.java | 36 |
net\logAnalyzer\utils\gui\GraphicsDecoratorPanel.java | 41 |
gfx.fillRect(x, y + 7, x + width, y + height); // Action border gfx.setPaint(GraphicsAttributes.QUICKPANEL_BORDER_COLOR); g.fillRect(x, y + 7, x + 1, y + height); g.fillRect(x + width - 1, y + 7, x + width, y + height); g.fillRect(x, y + height - 1, x + width, y + height); // Title background gfx.setPaint(new GradientPaint(x + width / 2, y, GraphicsAttributes.QUICKTITLE_GRADIENTSTART_COLOR, width, y, GraphicsAttributes.QUICKTITLE_GRADIENTEND_COLOR)); gfx.fillRoundRect(x, y, x + width, y + 14, 7, 7); gfx.fillRect(x, y + 3, x + width, y |
File | Line |
---|---|
net\logAnalyzer\gui\messages\cellrenderers\ImageKeyCellRender.java | 112 |
net\logAnalyzer\gui\messages\cellrenderers\ImageTextCellRenderer.java | 70 |
if (isSelected) { super.setForeground(table.getSelectionForeground()); super.setBackground(table.getSelectionBackground()); } else { super.setForeground(table.getForeground()); super.setBackground(table.getBackground()); } if (hasFocus) { setBorder(UIManager.getBorder("Table.focusCellHighlightBorder")); if (table.isCellEditable(row, column)) { super.setForeground(UIManager .getColor("Table.focusCellForeground")); super.setBackground(UIManager .getColor("Table.focusCellBackground")); } } else { setBorder(NOFOCUS_BORDER); } return this; } } |
File | Line |
---|---|
net\logAnalyzer\config\XMLConfigurationLoader.java | 124 |
net\logAnalyzer\config\XMLCommandsLoader.java | 97 |
public void characters(char[] chars, int start, int length) throws SAXException { switch (currentState) { case STATE_PATTERN: addPatternContent(new String(chars, start, length)); break; default: throw new SAXException(BADFORMAT_EXCEPTION); } } /** * Modification to the inherited behavior. * * @see org.xml.sax.helpers.DefaultHandler#endDocument() */ public void endDocument() throws SAXException { switch (currentState) { case STATE_END: currentState = -1; break; default: throw new SAXException(BADFORMAT_EXCEPTION); } } /** * Modification to the inherited behavior. * * @see org.xml.sax.helpers.DefaultHandler#endElement(java.lang.String, * java.lang.String, java.lang.String) */ public void endElement(String uri, String localName, String qName) throws SAXException { switch (currentState) { case STATE_COMMANDS: |