James Moger
2011-11-04 41cffba4298d61383d0dd99857429960a4ca3d44
src/com/gitblit/client/BranchRenderer.java
@@ -41,10 +41,7 @@
   public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected,
         boolean hasFocus, int row, int column) {
      super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
      if (value == null) {
         return this;
      }
      setText(value.toString());
      setText(value == null ? "" : value.toString());
      if (isSelected) {
         setForeground(table.getSelectionForeground());
      }
@@ -54,7 +51,7 @@
   @Override
   public Component getListCellRendererComponent(JList list, Object value, int index,
         boolean isSelected, boolean cellHasFocus) {
      setText(value.toString());
      setText(value == null ? "" : value.toString());
      if (isSelected) {
         setBackground(list.getSelectionBackground());
         setForeground(list.getSelectionForeground());