Revision 586

tmp/org.txm.progression.rcp/src/org/txm/progression/rcp/editors/ProgressionEditor.java (revision 586)
66 66
	private StructuralUnitProperty selectedStructuralUnitProperty;
67 67
	
68 68
	/** The regexproperty value. */
69
	private String regexpropertyValue;
69
	private String regexPropertyValue;
70 70
	
71 71
	/** The graphtype. */
72 72
	private boolean cumulative = true;
......
75 75
	private boolean monostyle = true;
76 76
	
77 77
	/** The linewidth. */
78
	private int linewidth = 2;
78
	private int lineWidth = 2;
79 79
	
80 80
	/** The structural units combo. */
81 81
	Combo structuralUnitsCombo;
......
497 497
			@Override
498 498
			public void run() {
499 499

  
500
				
501 500
				queries = new ArrayList<Query>();
502 501
				for (AssistedQueryWidget wid : queryWidgets) {
503 502
					if (!wid.getQueryString().equals("\"\"")) { //$NON-NLS-1$
......
522 521

  
523 522
				try {
524 523
					Pattern.compile(regexValue.getText());
525
					regexpropertyValue = regexValue.getText();
524
					regexPropertyValue = regexValue.getText();
526 525

  
527
					if (regexpropertyValue.length() == 0) {
528
						regexpropertyValue = null;
526
					if (regexPropertyValue.length() == 0) {
527
						regexPropertyValue = null;
529 528
					}
530 529
				} catch (PatternSyntaxException e) {
531 530
					System.out.println(ProgressionUIMessages.ProgressionDialog_10 + e);
......
548 547
					bandeMultiplier = 1.0f;
549 548
				}
550 549

  
551
				((Progression)getResultData()).setParameters(queries, selectedStructuralUnit, selectedStructuralUnitProperty, regexpropertyValue, cumulative, linewidth, repeatButton.getSelection(), bandeMultiplier);
550
				((Progression)getResultData()).setParameters(queries, selectedStructuralUnit, selectedStructuralUnitProperty, regexPropertyValue, cumulative, lineWidth, repeatButton.getSelection(), bandeMultiplier);
552 551
			}
553 552
		});
554 553

  
tmp/org.txm.core/src/java/org/txm/core/preferences/TXMPreferences.java (revision 586)
905 905
		
906 906
		try {
907 907
			String[] keys = preferences.keys();
908
			Arrays.sort(keys);
908 909
			for(int i = 0; i < keys.length; i++) {
909 910
				str.append(keys[i] + " = " + preferences.get(keys[i], "") + "\n");
910 911
			}

Also available in: Unified diff