We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba3c38 commit 4965cb4Copy full SHA for 4965cb4
src/test/java/io/reactivex/rxjava3/validators/FixLicenseHeaders.java
@@ -26,7 +26,7 @@
26
public class FixLicenseHeaders {
27
28
String[] header = {
29
- "/**",
+ "/*",
30
" * Copyright (c) 2016-present, RxJava Contributors.",
31
" *",
32
" * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in",
@@ -88,7 +88,7 @@ public void checkAndUpdateLicenses() throws Exception {
88
in.close();
89
}
90
91
- if (!lines.get(0).equals(header[0]) && !lines.get(1).equals(header[1])) {
+ if (!lines.get(0).equals(header[0]) || !lines.get(1).equals(header[1])) {
92
fail.append("java.lang.RuntimeException: missing header added, refresh and re-run tests!\r\n")
93
.append(" at ")
94
;
0 commit comments