summaryrefslogtreecommitdiffstats
path: root/nlpsolver
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary parenthesis in return statementsNoel Grandin2015-02-231-3/+3
| | | | | | | found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
* tdf#87074 null-ref error from NLPSolver in BasicLeMoyne Castle2015-02-173-17/+13
| | | | | | | | | | | | Initialize java class member objects exposed as XSolver properties: no default construction in java. Fixes issue for both DEPS and SCO solvers. Also removed info level console prints. Change-Id: I6762c5cca978072ce20b1f69a6b523f53364107d Reviewed-on: https://gerrit.libreoffice.org/14499 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove dead codeNoel Grandin2015-01-0519-664/+0
| | | | | | found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
* java: nlpsolver: getPropertyByName was checking the wrong datastructureNoel Grandin2014-12-191-1/+1
| | | | | | Found by PMD Change-Id: I76d38d71a3379416fe7e5078ef8b121915b26b6b
* java: reduce visibility of fields and methodsNoel Grandin2014-12-111-2/+2
| | | | | | | | | found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* java: remove some unused local variablesNoel Grandin2014-12-051-1/+0
| | | | Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
* java: remove some unused fieldsNoel Grandin2014-12-051-20/+15
| | | | Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
* java: final fields that can be staticNoel Grandin2014-11-254-10/+10
| | | | | | | | | found by PMD Change-Id: I2b48f35d252d6e914c2a18a2c175b075a9d3ac0f Reviewed-on: https://gerrit.libreoffice.org/13099 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: make fields final where possibleNoel Grandin2014-11-1811-48/+48
| | | | | | found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
* java: fix some javadoc errorsNoel Grandin2014-11-1830-65/+41
| | | | | | | | | Eclipse was flagging this text as "invalid javadoc tags" Change-Id: I09e090c6cc49366191f96d34bd51f6ba68cf18aa Reviewed-on: https://gerrit.libreoffice.org/12524 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: convert fields to local variables where possibleNoel Grandin2014-11-127-68/+40
| | | | | | | | | found by PMD Change-Id: I05b45382b8fb1b734657ce9421a20e6ef6fbe542 Reviewed-on: https://gerrit.libreoffice.org/12376 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* java: reduce excessive code indentation levelsNoel Grandin2014-11-121-56/+58
| | | | | | | | | by using early return in some methods Change-Id: I3611c8c89b3a94ef7e1772d178acf065fd7fcdc7 Reviewed-on: https://gerrit.libreoffice.org/12374 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* java: final fields that can be staticNoel Grandin2014-10-171-1/+1
| | | | Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
* java: always use braces for while loopsNoel Grandin2014-10-161-1/+2
| | | | Change-Id: Iff896b0cace8b8305528b3b0140004ea856169ce
* nlpsolver: ensure that the stream is cleaned up before the method returnsRobert Antoni Buj i Gelonch2014-10-131-9/+20
| | | | | | | Change-Id: I081194d802bd835285bdc37fbef55f229f1185dc Reviewed-on: https://gerrit.libreoffice.org/11940 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* nlpsolver: fix javadoc error: bad use of '>'rbuj2014-09-021-3/+4
| | | | | | | Change-Id: Ibfaeef155982ce6eeefe8ef51eea9c2bddb12c46 Reviewed-on: https://gerrit.libreoffice.org/11244 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove more unnecessary constructor declarationsNoel Grandin2014-08-201-2/+0
| | | | Change-Id: Ie5a243006b112c2e6daf12992f3dba8baf12748d
* java: remove unnecessary constructor declarationsNoel Grandin2014-08-201-5/+0
| | | | | | | in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
* java: remove modifiers implied by the contextNoel Grandin2014-08-206-22/+22
| | | | | | found by PMD Change-Id: I04cbf986ddbcffff987784f381b8a9f52f1b3f31
* java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin2014-08-192-5/+5
| | | | Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
* java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin2014-08-193-3/+3
| | | | Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
* java: remove unused methodsNoel Grandin2014-08-194-115/+0
| | | | Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
* java: remove unused importsNoel Grandin2014-08-141-1/+0
| | | | Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
* java: remove commented out codeNoel Grandin2014-08-142-6/+0
| | | | Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
* remove dead java constantsNoel Grandin2014-08-131-1/+0
| | | | | | found by UCDetector Change-Id: I1f8f5ba4f3ab1a1ef134dd0988f913dab7501351
* make some java fields privateNoel Grandin2014-08-131-1/+1
| | | | | | found by UCDetector Change-Id: Ib4cf18be134c3177cb123191e963bb43b7e6de93
* java: remove dead methodsNoel Grandin2014-08-1311-177/+23
| | | | | | found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
* fix makefileNoel Grandin2014-08-131-1/+0
| | | | | | after my commit cc6bd12 "java: remove unused enum values" Change-Id: I9f2f151c0c9a40f39fc235fa65b8324b9cb40027
* java: remove unused enum valuesNoel Grandin2014-08-133-50/+1
| | | | | | found by UCDetector Change-Id: Ic07be7e34204b5d838a722e1ce6038506a771144
* java: remove unused fieldsNoel Grandin2014-08-133-26/+24
| | | | | | found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
* java: reduce scope, make some methods privateNoel Grandin2014-08-1310-24/+24
| | | | | | found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
* java: reduce scope, make member classes privateNoel Grandin2014-08-132-3/+3
| | | | | | found by UCDetector Change-Id: Ief32d078090102b14b60b35fc36542f8d4fb252b
* java: reduce scope, make fields privateNoel Grandin2014-08-1311-54/+54
| | | | | | found by UCDetector Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
* java: reduce scope, make constructors privateNoel Grandin2014-08-133-5/+5
| | | | | | found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
* java: reduce scope, make constants privateNoel Grandin2014-08-121-1/+1
| | | | | | found by UCDetector Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57
* java: fix broken javadoc tagsNoel Grandin2014-08-121-1/+1
| | | | Change-Id: I43d25ba49b758739ee8dc891b0db3e527004ec8b
* java: add @Override annotation to overriding methodsNoel Grandin2014-08-123-0/+10
| | | | Change-Id: I086964c6f6ce52c60c52b6dbc445d3c21d22c80a
* java: remove exceptions from throws clauses that are notNoel Grandin2014-08-081-1/+1
| | | | | | .. actually thrown Change-Id: Ia326ac7f82e11b948ed0f34e20908a96e7adcd10
* java: remove unnecessary semi-colonsNoel Grandin2014-08-081-1/+1
| | | | Change-Id: Ibeeefc6e6ee8f7bed97a02f569f239ff035d38c4
* nlpsolver: Use System.arraycopyrbuj2014-08-072-6/+2
| | | | | | | Change-Id: I2550bf0799bd5ebc7f6ff299752fa90b7a31674d Reviewed-on: https://gerrit.libreoffice.org/10806 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* nlpsolver: Number parsingrbuj2014-08-071-2/+2
| | | | | | | Change-Id: I37a83b8e8c0f084ae175be5a5c58fc6b852e23a1 Reviewed-on: https://gerrit.libreoffice.org/10807 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* convert EvolutionarySolver source to unix LFNoel Grandin2014-08-0715-964/+964
| | | | | | | so I dont keep getting problems when moving patches between Windows and Linux Change-Id: Ia2323ecb388bf5996279686e1bd2b1676c5ae213
* java: remove commented out codeNoel Grandin2014-08-052-33/+0
| | | | Change-Id: I44e2043e5da23bc9421c03e550ef1d8b7ebaad36
* java: remove some unused fields in the ODK examplesNoel Grandin2014-08-051-1/+0
| | | | Change-Id: Ic6b4f18aefba6603af51d17d061e3f821e95261f
* java: remove some unused fields in the ODK examplesNoel Grandin2014-08-041-2/+1
| | | | Change-Id: Ic6b4f18aefba6603af51d17d061e3f821e95261f
* '!= false' is redundant, and confusing - kill it.Jan Holesovsky2014-05-091-2/+2
| | | | Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
* fdo#78004 fix string formattingAlex Gulyás2014-04-271-1/+1
| | | | | | | | | Added missing 's' Change-Id: I7570d86d65ebcffc547b06ab9c19843de0b90436 Reviewed-on: https://gerrit.libreoffice.org/9181 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Remove trailing whitespace from nlpsolverAlexander Wilms2014-02-2611-54/+54
| | | | | | | Change-Id: I8ee2aff2c18adaf5582ed6eeb174e88313d8c8a2 Reviewed-on: https://gerrit.libreoffice.org/8283 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* Some ConfigurationProvider -> theDefaultProvider simplificationsStephan Bergmann2014-01-081-3/+3
| | | | Change-Id: I7c25cd94f8a1ca339f7423c26f21f13c7a68906d
* gbuild: fix gb_Extension_use_default_descriptionMichael Stahl2013-11-041-1/+1
| | | | | | | Passing a target local variable like $(LOCATION) to gb_Extension_add_file does not result in an actual dependency on the file. Change-Id: Ide77ab81f19877267056bf8e50d69c9cfedcda79