Commit Graph

607 Commits

Author SHA1 Message Date
Zoltán Reegn
3a74aaeabc Explicitly declare NonUniqueResultException for fetchOne
Fetchable.fetchOne() declares in it's javadoc that it throws
NonUniqueResultException. It should therefore be explicitly declared in
the method signature as well.
All implementations must also declare in their signature that they throw.

This also has the desirable side-effect of the javadoc of all of the
implementors inheriting the @throws section from the javadoc of the
interface as well.

Fixes #2232
2018-01-16 14:03:05 +01:00
Timo Westkämper
300f88d9c5 Fix null handling 2016-07-16 09:55:18 +03:00
Timo Westkämper
2c195ffa62 Get rid of capitalized test method names 2015-11-30 20:05:56 +02:00
Ruben Dijkstra
89d0948454 Case insensitive like operator 2015-11-13 22:08:22 +01:00
Ruben Dijkstra
18fd0ad71d Remove compiler warnings
SuppressWarnings moved to smaller scope
Generic array creations avoided
A lot of rawtypes warnings removed
Suppress more warnings in generated code - `all` is an Eclipse extension
2015-10-21 19:03:00 +02:00
Timo Westkämper
9f20855f72 Remove metadata reset usage 2015-09-03 19:04:26 +03:00
John Tims
57c44ac58b Merge pull request #1484 from querydsl/i1482
Improve precedence mappings
2015-08-31 15:20:17 -04:00
John Tims
b0c60d009d Suppress warnings on methods 2015-08-27 21:26:40 -04:00
Timo Westkämper
7c72de81ea Improve precedence mappings 2015-08-18 00:12:18 +03:00
Timo Westkämper
2a6e23d573 Reduce System.out usage 2015-06-26 21:12:09 +03:00
Timo Westkämper
0084ab5365 Add more assertions 2015-06-23 21:42:59 +03:00
Timo Westkämper
a79919f4f3 Improve type level javadocs 2015-05-28 22:50:18 +03:00
Timo Westkämper
ed91c7ca74 Unify package-info contents 2015-05-14 17:36:00 +03:00
Timo Westkämper
b81c03fddb Fix whitespace for querydsl-collections 2015-05-13 23:08:24 +03:00
Timo Westkämper
6b18460a75 Fix braces 2015-05-13 23:07:06 +03:00
Timo Westkämper
3fbb04a3a5 Remove unnecessary boxing 2015-05-10 12:49:04 +03:00
Timo Westkämper
ea42efbd03 Extend Checkstyle checks for tests 2015-05-10 00:39:35 +03:00
Timo Westkämper
059148d2c4 Extend Checkstyle checks 2015-05-09 23:08:31 +03:00
John Tims
8dc6ff190a Remove trailing whitespace in querydsl-collections 2015-05-09 00:56:32 -04:00
John Tims
579107942d Optimize imports in querydsl-collections 2015-05-08 23:36:25 -04:00
Timo Westkämper
01e2a718cf Update copyright 2015-05-08 19:05:24 +03:00
John Tims
b521f031a7 Make cached properties transient in querydsl-core 2015-05-06 23:50:38 -04:00
Timo Westkämper
a4de56ef31 Improve javadocs for querydsl-collections 2015-05-01 22:06:40 +03:00
Timo Westkämper
70580c0cbe Replace Void type with wilcard where possible 2015-04-22 23:12:58 +03:00
Timo Westkämper
85e46b6a72 Rename fetchIterate to iterate 2015-04-22 23:12:58 +03:00
Timo Westkämper
4428f5d84f Separate projection from query execution 2015-04-22 23:12:53 +03:00
Timo Westkämper
f6e73b7807 Move ConstructorExpression creation to Projections 2015-04-18 10:10:32 +03:00
Ruben Dijkstra
06dfceb021 Merge pull request #1285 from querydsl/expression-utils
Move Expression creation to ExpressionUtils
2015-03-31 08:56:10 +02:00
Timo Westkämper
4e568bda40 Move Expression creation to ExpressionUtils 2015-03-30 22:50:48 +03:00
Ruben Dijkstra
b454f78c3a Add test case for #1262 2015-03-30 22:46:06 +03:00
Ruben Dijkstra
0848a0834a Remove compiler warnings from raw Constant usage 2015-03-30 10:44:21 +02:00
Timo Westkämper
1a1845165c Generics improvements 2015-03-26 19:22:23 +02:00
Timo Westkämper
1ed736b468 Combine package contents 2015-03-26 19:22:22 +02:00
Timo Westkämper
fa07c83658 Changes to Expression instance creation 2015-03-26 19:19:59 +02:00
Ruben Dijkstra
41c2c02eee Merge pull request #1244 from querydsl/i1231
Use deterministic path creation
2015-03-22 19:59:43 +01:00
Timo Westkämper
b958a2aa9c Use deterministic path creation 2015-03-21 11:16:03 +02:00
John Tims
71316d3f40 Fix typos 2015-03-20 14:23:16 -04:00
Timo Westkämper
622a1fde8f Centralize Templates precedence validations 2015-03-08 19:58:57 +02:00
Ruben Dijkstra
7a05abd619 Merge pull request #1176 from querydsl/i1067
Combine QueryMixin.convert and normalize
2015-02-12 21:17:09 +01:00
Ruben Dijkstra
53f9288455 Merge pull request #1186 from querydsl/travis-optimizations
Optimize surefire config in travis profile
2015-02-11 09:05:13 +01:00
Timo Westkämper
a43897fe06 Hide test summary for travis profile
Categorize tests
2015-02-08 14:18:51 +02:00
Timo Westkämper
15e4f79625 Simplify Operator usage 2015-02-07 23:41:47 +02:00
Timo Westkämper
e71eeaa524 Combine QueryMixin.convert and normalize 2015-02-07 18:34:51 +02:00
Ruben Dijkstra
0947853865 Merge pull request #1141 from querydsl/i706-projections
Hide Projection constructors
2015-02-05 19:08:20 +01:00
Timo Westkämper
cfd73c9738 Remove type parameter 2015-02-01 00:25:43 +02:00
Timo Westkämper
dc5f5a08d0 Hide Projection constructors 2015-01-28 21:58:27 +02:00
Timo Westkämper
f5518f11fb Make QueryMetadata.projection a single Expression 2015-01-27 19:40:51 +02:00
Timo Westkämper
3a882b72a9 Move packages from com.mysema.query to com.querydsl 2015-01-20 23:56:59 +02:00
Ruben Dijkstra
129096a8fd Merge pull request #1086 from querydsl/sqlserver-test-fixes
Fix SQL Server tests
2014-12-17 17:08:23 +01:00
Timo Westkämper
26d30f3c98 Replace junit.framework.Assert with org.junit.Assert 2014-12-14 13:10:51 +02:00