Révision 21
src/gZFS/zfs.java (revision 21) | ||
---|---|---|
354 | 354 |
log.debug("sessionIP "+TsplitLine[1]); |
355 | 355 |
}else{ |
356 | 356 |
//this.getZvol().zProperties.containsKey(TsplitLine[0]); |
357 |
if (this.getZiscsi().zProperties.containsKey(TsplitLine[0])){ |
|
357 |
if (this.getZiscsi().zProperties.containsKey(TsplitLine[0])&& TsplitLine.length ==2){
|
|
358 | 358 |
this.getZiscsi().zProperties.get(TsplitLine[0]).setValue(TsplitLine[1]); |
359 | 359 |
} |
360 | 360 |
} |
... | ... | |
1089 | 1089 |
public float convertInReferenceUnit(String value2Convert, String refUnit){ |
1090 | 1090 |
|
1091 | 1091 |
float convertedValue=0; |
1092 |
value2Convert = value2Convert.replace(",", "."); |
|
1092 | 1093 |
log.debug("convertInReferenceUnit "+value2Convert+" "+refUnit); |
1093 | 1094 |
if ( refUnit.equalsIgnoreCase("T")){ |
1094 | 1095 |
if (value2Convert.contains("T")){ |
Formats disponibles : Unified diff