Subversion Repositories eFlore/Applications.cel

Rev

Rev 2195 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2195 Rev 2198
Line 172... Line 172...
172
		for(int i = 0; i <= noeudsFreres.length; i++) {
172
		for(int i = 0; i <= noeudsFreres.length; i++) {
173
			if(noeudsFreres[i] != null) {
173
			if(noeudsFreres[i] != null) {
174
				String cheminFrere = noeudsFreres[i].getPath();
174
				String cheminFrere = noeudsFreres[i].getPath();
175
				String cheminNoeud = node.getPath();
175
				String cheminNoeud = node.getPath();
176
				String texteNoeudfrere = ((String[])noeudsFreres[i].getUserObject())[0];
176
				String texteNoeudfrere = ((String[])noeudsFreres[i].getUserObject())[0];
177
				if(!cheminFrere.equals(cheminNoeud) && text.equals(texteNoeudfrere)) {
177
				if(!cheminFrere.equals(cheminNoeud) && text.trim().equals(texteNoeudfrere.trim())) {
178
					ok = false;
178
					ok = false;
179
				}
179
				}
180
			}
180
			}
181
		}
181
		}
182
		return ok;
182
		return ok;