Skip to content

Commit

Permalink
Merge pull request #9 from coinse/dev
Browse files Browse the repository at this point in the history
New bugs collected after GitHub Action Run on Feb 2
  • Loading branch information
jaeyonglee0205 authored Feb 2, 2024
2 parents 7879186 + 6a7b2ce commit bd57920
Show file tree
Hide file tree
Showing 23 changed files with 455 additions and 4,900 deletions.
1 change: 1 addition & 0 deletions commit_db/openapi-generator_bugs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ bug_id,revision.id.buggy,revision.id.fixed,report.id,report.url
3,1b60ee1799a6831a9cd59cb833db63d4ee4eb06b,68b944e6e62fa69669e97a8c2041a7eb7ed3314a,OpenAPITools_openapi-generator-14536,https://github.com/OpenAPITools/openapi-generator/issues/14531
4,564939a4a8eb73f26a5878445c058875e2a1f2a9,f45523dd1a6c4c02d1745c13104beadfa103fa26,OpenAPITools_openapi-generator-14768,https://github.com/OpenAPITools/openapi-generator/issues/11185
5,7f480cb9360e98308a16d0adae1f8a2d8fad2ae6,1531ad48d0f5ed03036d5253e60cd5077d0d90ad,OpenAPITools_openapi-generator-16050,https://github.com/OpenAPITools/openapi-generator/issues/15476
6,7c7634dda95eeb015e3a64375abf124f9031fecd,6c35fe1035bb8930e62928de15f4a6dedc23fb98,OpenAPITools_openapi-generator-17759,https://github.com/OpenAPITools/openapi-generator/issues/17757
1 change: 1 addition & 0 deletions commit_db/rocketmq_bugs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ bug_id,revision.id.buggy,revision.id.fixed,report.id,report.url
15,d79737788078707168c0258c4af0d800de32c137,d0a69be563785ca815dc31ef1aab4c1bc5588c01,apache_rocketmq-7073,https://github.com/apache/rocketmq/issues/6810
16,d000ef947d7c99918ceba0fa451c1e29fd84ba07,f82718ae3b77a16b553c03f672dc971a2d5d48fa,apache_rocketmq-7209,https://github.com/apache/rocketmq/issues/7208
17,dddd58d2cc8622eb70f55b447ffb772700c0e916,1a8e7cb17cb29ed33b0196b52e452a6e76ade781,apache_rocketmq-7346,https://github.com/apache/rocketmq/issues/7345
18,9e4fd0e68a1ea6ab1b1f3344ac9ae79af29a32c2,806454bc5e29d2f157cde99bdb082f94cdb377fa,apache_rocketmq-7712,https://github.com/apache/rocketmq/issues/7710
76 changes: 0 additions & 76 deletions data/prod_diff/FasterXML_jackson-databind-4273.diff

This file was deleted.

30 changes: 30 additions & 0 deletions data/prod_diff/OpenAPITools_openapi-generator-17759.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
index c1ae3cc8fbb..4b3dcc56612 100644
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
+++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/AbstractJavaCodegen.java
@@ -1003,21 +1003,21 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code
if (items.getMinimum() != null && items.getMaximum() != null) {
return String.format(Locale.ROOT, "@DecimalMin(value = \"%s\", inclusive = %s) @DecimalMax(value = \"%s\", inclusive = %s)",
items.getMinimum(),
- Optional.ofNullable(items.getExclusiveMinimum()).orElse(Boolean.FALSE),
+ !Optional.ofNullable(items.getExclusiveMinimum()).orElse(Boolean.FALSE),
items.getMaximum(),
- Optional.ofNullable(items.getExclusiveMaximum()).orElse(Boolean.FALSE));
+ !Optional.ofNullable(items.getExclusiveMaximum()).orElse(Boolean.FALSE));
}

if (items.getMinimum() != null) {
return String.format(Locale.ROOT, "@DecimalMin( value = \"%s\", inclusive = %s)",
items.getMinimum(),
- Optional.ofNullable(items.getExclusiveMinimum()).orElse(Boolean.FALSE));
+ !Optional.ofNullable(items.getExclusiveMinimum()).orElse(Boolean.FALSE));
}

if (items.getMaximum() != null) {
return String.format(Locale.ROOT, "@DecimalMax( value = \"%s\", inclusive = %s)",
items.getMaximum(),
- Optional.ofNullable(items.getExclusiveMaximum()).orElse(Boolean.FALSE));
+ !Optional.ofNullable(items.getExclusiveMaximum()).orElse(Boolean.FALSE));
}

return "";
Loading

0 comments on commit bd57920

Please sign in to comment.