repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CheckNotNullMultipleTimes.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,269 | 38.328358 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit4ClassUsedInJUnit3.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,503 | 36.276596 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoNotMockChecker.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,548 | 33.422222 | 95 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CollectionToArraySafeParameter.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,155 | 37.487805 | 95 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypesWithUndefinedEquality.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,355 | 37 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StatementSwitchToExpressionSwitch.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 50,663 | 43.520211 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/PrivateConstructorForUtilityClass.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,251 | 39.4 | 98 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FuzzyEqualsShouldNotBeUsedInEqualsMethod.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,067 | 37.296296 | 91 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BadInstanceof.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,549 | 40.764706 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MethodCanBeStatic.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 11,483 | 36.776316 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DoubleBraceInitialization.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,995 | 40.305785 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractMethodReturnsNull.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,325 | 35.920635 | 91 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MisusedDateFormat.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,075 | 39.38 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OptionalOfRedundantMethod.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,952 | 40.629371 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedLabel.java | /*
* Copyright 2023 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,780 | 36.08 | 89 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryBoxedVariable.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 19,388 | 40.786638 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullTernary.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,069 | 38.807692 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SameNameButDifferent.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,299 | 38.574468 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ReachabilityFenceUsage.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,457 | 35.147059 | 95 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NoAllocationChecker.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 21,145 | 39.743738 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BadImport.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 10,905 | 39.243542 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FloatingPointAssertionWithinEpsilon.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 11,172 | 40.535316 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MultipleUnaryOperatorsInMethodCall.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,519 | 36.61194 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CacheLoaderNull.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,907 | 36.282051 | 93 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit4TestsNotRunWithinEnclosed.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,172 | 42.108333 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MultiVariableDeclaration.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,865 | 37.928 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ConditionalExpressionNumericPromotion.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,704 | 38.414894 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NarrowingCompoundAssignment.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,166 | 33.456731 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CanonicalDuration.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 12,836 | 38.743034 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit4TearDownNotRun.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,649 | 39.769231 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/WildcardImport.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 10,594 | 36.045455 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ConstantPatternCompile.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 15,359 | 36.463415 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThreadJoinLoop.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,298 | 40.169935 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/FloatCast.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,046 | 35.572464 | 93 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractAsKeyOfSetOrMap.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,611 | 37.756303 | 91 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NewFileSystem.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,218 | 38.625 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SymbolToString.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,942 | 35.333333 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InfiniteRecursion.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,937 | 39.563265 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SystemExitOutsideMain.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,802 | 42.796875 | 94 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DuplicateMapKeys.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,844 | 34.5625 | 95 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/WithSignatureDiscouraged.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 5,517 | 40.80303 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ArrayHashCode.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,742 | 44.870748 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AnnotationMirrorToString.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,495 | 34.657143 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractReferenceEquality.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,693 | 36.313305 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MemberName.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 10,653 | 41.616 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JavaUtilDateChecker.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,065 | 38.818182 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SubstringOfZero.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,776 | 40.447761 | 94 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedTypeParameter.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,124 | 37.533835 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractMustBeClosedChecker.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 20,024 | 38.264706 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CompileTimeConstantChecker.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 12,008 | 40.126712 | 115 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/SelfEquals.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,134 | 37.609023 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ComparableType.java | /* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | 2,846 | 39.098592 | 94 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CheckedExceptionNotThrown.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,493 | 41.258706 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/LabelledBreakTarget.java | /*
* Copyright 2023 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,618 | 34.977778 | 92 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IsInstanceOfClass.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,091 | 39.613333 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AssertThrowsMultipleStatements.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,434 | 40.385542 | 98 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnusedCollectionModifiedInPlace.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,274 | 39.9375 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InterruptedExceptionSwallowed.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,825 | 40.991453 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/GetClassOnAnnotation.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,152 | 36.12069 | 91 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OperatorPrecedence.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,092 | 37.877863 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ArrayEquals.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,306 | 41.948052 | 94 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TruthSelfEquals.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,520 | 38.283133 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DiscardedPostfixExpression.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,473 | 35.382353 | 90 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/Varifier.java | /*
* Copyright 2022 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 4,889 | 41.521739 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StreamResourceLeak.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,911 | 40.890909 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AssertFalse.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,959 | 35.981132 | 89 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryLongToIntConversion.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,597 | 48.131429 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/HidingField.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,596 | 36.817568 | 98 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DefaultCharset.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 22,389 | 38.075044 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/HashtableContains.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,833 | 41.034783 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UngroupedOverloads.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,543 | 37.886598 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/NullablePrimitive.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,961 | 36.025 | 96 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/RethrowReflectiveOperationExceptionAsLinkageError.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,655 | 42.011765 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AsyncCallableReturnsNull.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,208 | 35.636364 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/CanBeStaticAnalyzer.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,277 | 31.491071 | 98 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InexactVarargsConditional.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,100 | 40.346667 | 98 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/VarChecker.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,997 | 38.046875 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ReferenceEquality.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,269 | 35.597222 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TypeToString.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,922 | 35.08642 | 95 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/IgnoredPureGetter.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,148 | 39.721854 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/TryWithResourcesVariable.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,796 | 38.957143 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InsecureCipherMode.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 6,560 | 42.450331 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ProtoRedundantSet.java | /*
* Copyright 2018 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,707 | 35.223881 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OptionalNotPresent.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,994 | 40.061644 | 116 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/EmptyIfStatement.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,244 | 38.096386 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/UnnecessaryMethodInvocationMatcher.java | /*
* Copyright 2019 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | 3,662 | 40.625 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/AbstractReturnValueIgnored.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 27,767 | 43.006339 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ReturnValueIgnored.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 19,403 | 41.834437 | 134 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnitParameterMethodNotFound.java | /*
* Copyright 2021 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 7,913 | 42.245902 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/InstanceOfAndCastMatchWrongType.java | /*
* Copyright 2012 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 8,417 | 36.0837 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ASTHelpersSuggestions.java | /*
* Copyright 2022 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,664 | 41.027027 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/OptionalEquality.java | /*
* Copyright 2015 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 1,733 | 35.125 | 93 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/StaticMockMember.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,552 | 37.104478 | 93 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/JUnit4SetUpNotRun.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,641 | 39.646154 | 97 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/MissingDefault.java | /*
* Copyright 2017 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,323 | 42.676768 | 100 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ThrowsUncheckedException.java | /*
* Copyright 2016 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2,433 | 36.446154 | 89 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BanClassLoader.java | /*
* Copyright 2023 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 3,770 | 40.43956 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/DeadException.java | /*
* Copyright 2011 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 4,572 | 38.08547 | 94 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/BadAnnotationImplementation.java | /*
* Copyright 2014 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 5,655 | 38.830986 | 99 | java |
error-prone | error-prone-master/core/src/main/java/com/google/errorprone/bugpatterns/ForEachIterable.java | /*
* Copyright 2020 The Error Prone Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 9,323 | 37.85 | 100 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.