Explorar el Código

removed use of getSourceLocation.getColumn()

tags/V_1_1_b2
jhugunin hace 21 años
padre
commit
aec4f4dccb
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. 5
    4
      tests/new/NegativeSourceLocation.java

+ 5
- 4
tests/new/NegativeSourceLocation.java Ver fichero

@@ -262,10 +262,11 @@ aspect Aspect {
if (0 > i) {
Signal.failed(context + " line<0: " + i);
}
i = sl.getColumn();
if (0 > i) {
Signal.failed(context + " column<0: " + i);
}
// 1.1 doesn't provide column info
// i = sl.getColumn();
// if (0 > i) {
// Signal.failed(context + " column<0: " + i);
// }
}
}
} // Aspect

Cargando…
Cancelar
Guardar