Skip to content

Commit

Permalink
tidy up a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Oct 18, 2014
1 parent b0e6535 commit ce69db3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/de/mpg/molgen/buczek/portifix/TableModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class TableModel extends AbstractTableModel {
String.class,
String.class,};

final private String SQL
final private static String SQL
= "select NAME_1,NAME_2,ABTEILUNG,RUECKGABETERMINDATUM,AUSGABE.SCHLUESSELNUMMER,"
+ "EXEMPLARNUMMER,AUSGABE_ID,AUSGABE.EXEMPLAR_ID,AUSGABE.PERSONAL_ID"
+ " from AUSGABE,PERSONAL,EXEMPLAR"
Expand All @@ -71,15 +71,15 @@ public class TableModel extends AbstractTableModel {
+ " AND rueckgabetermindatum is not null"
+ " order by rueckgabetermindatum";

final private String SQL_ALL
final private static String SQL_ALL
= "select NAME_1,NAME_2,ABTEILUNG,RUECKGABETERMINDATUM,AUSGABE.SCHLUESSELNUMMER,"
+ "EXEMPLARNUMMER,AUSGABE_ID,AUSGABE.EXEMPLAR_ID,AUSGABE.PERSONAL_ID"
+ " from AUSGABE,PERSONAL,EXEMPLAR"
+ " where AUSGABE.PERSONAL_ID=PERSONAL.PERSONAL_ID"
+ " and AUSGABE.EXEMPLAR_ID=EXEMPLAR.EXEMPLAR_ID"
+ " order by NAME_1";

protected ArrayList<Object[]> row = new ArrayList(100);
private ArrayList<Object[]> row = new ArrayList(100);

@Override
public int getRowCount() {
Expand Down

0 comments on commit ce69db3

Please sign in to comment.