comparison flys-aft/src/main/java/de/intevation/aft/SyncContext.java @ 4736:b195fede1c3b

Remove trailing whitespace.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 02 Jan 2013 13:18:31 +0100
parents 06891562e633
children e21acb4f5c62
comparison
equal deleted inserted replaced
4735:94b39073f0f7 4736:b195fede1c3b
98 if (number != null) { 98 if (number != null) {
99 DIPSGauge newG = new DIPSGauge(element); 99 DIPSGauge newG = new DIPSGauge(element);
100 DIPSGauge oldG = map.put(number, newG); 100 DIPSGauge oldG = map.put(number, newG);
101 if (oldG != null) { 101 if (oldG != null) {
102 log.warn("DIPS: '" + newG.getName() + 102 log.warn("DIPS: '" + newG.getName() +
103 "' collides with '" + oldG.getName() + 103 "' collides with '" + oldG.getName() +
104 "' on gauge number " + number + "."); 104 "' on gauge number " + number + ".");
105 } 105 }
106 } 106 }
107 else { 107 else {
108 log.warn("DIPS: Gauge '" + element.getAttribute("NAME") + 108 log.warn("DIPS: Gauge '" + element.getAttribute("NAME") +
110 } 110 }
111 } 111 }
112 return map; 112 return map;
113 } 113 }
114 114
115 protected Map<TimeInterval, TimeInterval> loadTimeIntervals() 115 protected Map<TimeInterval, TimeInterval> loadTimeIntervals()
116 throws SQLException { 116 throws SQLException {
117 117
118 boolean debug = log.isDebugEnabled(); 118 boolean debug = log.isDebugEnabled();
119 119
120 Map<TimeInterval, TimeInterval> intervals = 120 Map<TimeInterval, TimeInterval> intervals =
121 new TreeMap<TimeInterval, TimeInterval>(); 121 new TreeMap<TimeInterval, TimeInterval>();
122 122
123 ResultSet rs = null; 123 ResultSet rs = null;
124 124
125 try { 125 try {
126 rs = flysStatements 126 rs = flysStatements
127 .getStatement("select.timeintervals") 127 .getStatement("select.timeintervals")
128 .executeQuery(); 128 .executeQuery();
129 129

http://dive4elements.wald.intevation.org