mirror of
https://github.com/Wisser/Jailer.git
synced 2026-05-20 19:38:32 -05:00
"ConcurrentModificationException" issue fixed
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
15.2.3
|
||||
- The new "Tooltip Indicator" feature lets you see which user interface elements provide a tooltip.
|
||||
- A rarely occurring "ConcurrentModificationException" issue was corrected.
|
||||
|
||||
15.2.2
|
||||
- Automatic "Where" clause adjustment in SQL console did not work correctly for queries with an "Order by" clause, but no "Where".
|
||||
This was corrected.
|
||||
|
||||
@@ -1512,10 +1512,12 @@ public class Session {
|
||||
* @param owner the class that owns the properties
|
||||
*/
|
||||
public void removeSessionProperties(Class<?> owner) {
|
||||
Iterator<Map.Entry<String, Object>> i = sessionProperty.entrySet().iterator();
|
||||
while (i.hasNext()) {
|
||||
if (i.next().getKey().startsWith(owner.getName() + ".")) {
|
||||
i.remove();
|
||||
synchronized (sessionProperty) {
|
||||
Iterator<Map.Entry<String, Object>> i = sessionProperty.entrySet().iterator();
|
||||
while (i.hasNext()) {
|
||||
if (i.next().getKey().startsWith(owner.getName() + ".")) {
|
||||
i.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -726,6 +726,8 @@ public abstract class DataModelManagerDialog extends javax.swing.JFrame {
|
||||
public void windowActivated(WindowEvent e) {
|
||||
}
|
||||
});
|
||||
|
||||
UIUtil.initToolTips(this);
|
||||
}
|
||||
|
||||
public static void start(String module, boolean withStartupWizzard, ExecutionContext executionContext) {
|
||||
|
||||
@@ -2615,7 +2615,8 @@ public class UIUtil {
|
||||
b = 7;
|
||||
}
|
||||
|
||||
g2d.setColor(c instanceof JLabel || c instanceof JTextField? new Color(255, 255, 0, 128) : new Color(255, 255, 0));
|
||||
g2d.setColor(((c instanceof JLabel) && ((JLabel) c).getIcon() == null) || c instanceof JTextField?
|
||||
new Color(255, 255, 0, 128) : new Color(255, 255, 0));
|
||||
g2d.fillPolygon(new int[] {x, x + b, x}, new int[] {y, y, y + b}, 3);
|
||||
g2d.setColor(new Color(200, 200, 0));
|
||||
g2d.drawPolygon(new int[] {x, x + b, x}, new int[] {y, y, y + b}, 3);
|
||||
|
||||
Reference in New Issue
Block a user