qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java | 3 --- wizards/com/sun/star/wizards/db/TypeInspector.java | 3 --- 2 files changed, 6 deletions(-)
New commits: commit 722c921168fa0152616081c09434b6d0378aa306 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 22 12:32:52 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jul 22 22:45:00 2019 +0200 cid#1448328 UC: Useless code Change-Id: Ie6a64927bff7536ce34cc802341e13046d655ab4 Reviewed-on: https://gerrit.libreoffice.org/76141 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/wizards/com/sun/star/wizards/db/TypeInspector.java b/wizards/com/sun/star/wizards/db/TypeInspector.java index 4acc32e1af08..831378e96188 100644 --- a/wizards/com/sun/star/wizards/db/TypeInspector.java +++ b/wizards/com/sun/star/wizards/db/TypeInspector.java @@ -57,7 +57,6 @@ public class TypeInspector ArrayList<Integer> aPrecisionVector = new ArrayList<Integer>(); ArrayList<Integer> aMinScaleVector = new ArrayList<Integer>(); ArrayList<Integer> aMaxScaleVector = new ArrayList<Integer>(); - ArrayList<Integer> aSearchableVector = new ArrayList<Integer>(); XRow xRow = UnoRuntime.queryInterface(XRow.class, _xResultSet); while (_xResultSet.next()) { @@ -65,7 +64,6 @@ public class TypeInspector aTypeVector.add(Integer.valueOf(xRow.getShort(2))); aPrecisionVector.add(Integer.valueOf(xRow.getInt(3))); aNullableVector.add(Integer.valueOf(xRow.getShort(7))); - aSearchableVector.add(Integer.valueOf(xRow.getShort(9))); aAutoIncrementVector.add(Boolean.valueOf(xRow.getBoolean(12))); aMinScaleVector.add(Integer.valueOf(xRow.getShort(14))); aMaxScaleVector.add(Integer.valueOf(xRow.getShort(15))); @@ -75,7 +73,6 @@ public class TypeInspector aTypeNameVector.toArray(sDataTypeNames); nDataTypeInfos = JavaTools.IntegerTointList(aTypeVector); nNullableInfos = JavaTools.IntegerTointList(aNullableVector); - JavaTools.IntegerTointList(aSearchableVector); bisAutoIncrementableInfos = JavaTools.BooleanTobooleanList(aAutoIncrementVector); nPrecisionInfos = JavaTools.IntegerTointList(aPrecisionVector); nMinScaleInfos = JavaTools.IntegerTointList(aMinScaleVector); commit ccc81cd002070a392cb326e0b2fbdf84c87292f9 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Jul 22 12:33:42 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Jul 22 22:44:49 2019 +0200 cid#1448291 UC: Useless code Change-Id: Idba951ec37529438fb23089feebfb192716c9c76 Reviewed-on: https://gerrit.libreoffice.org/76142 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java index c1de8eb33710..6e2f05452998 100644 --- a/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScDataPilotItemObj.java @@ -233,8 +233,6 @@ public class ScDataPilotItemObj extends TestCase { private void getSRange(XIndexAccess IA) { int fieldsAmount = IA.getCount() + 1; - String[] fieldsNames = new String[fieldsAmount]; - int i = -1; int cnt = 0; @@ -260,7 +258,6 @@ public class ScDataPilotItemObj extends TestCase { log.println("**Field : '" + name + "' ... "); if (!name.equals("Data")) { - fieldsNames[cnt] = name; XPropertySet props = UnoRuntime.queryInterface( XPropertySet.class, field); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits