Skip to content

Commit

Permalink
Update checker framework version 2.5.3
Browse files Browse the repository at this point in the history
./third_party/java/checker_framework/update-checker \
    --old_version 2.5.2  \
    --checker_release 2.5.3 \
    --annotation_file_utilities_new_version 3.6.55 \
    --annotation_file_utilities_old_version 3.6.54

RELNOTES: upgrade checker framework to 2.5.3

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=204300412
  • Loading branch information
cnsun authored and ronshapiro committed Jul 13, 2018
1 parent a5cb666 commit e526aa1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import org.checkerframework.dataflow.cfg.node.BooleanLiteralNode;
import org.checkerframework.dataflow.cfg.node.CaseNode;
import org.checkerframework.dataflow.cfg.node.CharacterLiteralNode;
import org.checkerframework.dataflow.cfg.node.ClassDeclarationNode;
import org.checkerframework.dataflow.cfg.node.ClassNameNode;
import org.checkerframework.dataflow.cfg.node.ConditionalAndNode;
import org.checkerframework.dataflow.cfg.node.ConditionalNotNode;
Expand Down Expand Up @@ -994,6 +995,14 @@ Nullness visitMarker(MarkerNode node, SubNodeValues inputs, Updates updates) {
return NULLABLE;
}

// TODO(b/111301865): This is a new API in CF 2.5.3
@Override
public final TransferResult<Nullness, AccessPathStore<Nullness>> visitClassDeclaration(
ClassDeclarationNode classDeclarationNode,
TransferInput<Nullness, AccessPathStore<Nullness>> input) {
return noStoreChanges(NULLABLE, input);
}

private static final class ReadableUpdates implements Updates {
final Map<AccessPath, Nullness> values = new HashMap<>();

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<javac.version>9+181-r4173-1</javac.version>
<autovalue.version>1.5.3</autovalue.version>
<junit.version>4.13-SNAPSHOT</junit.version>
<dataflow.version>2.5.2</dataflow.version>
<dataflow.version>2.5.3</dataflow.version>
</properties>

<modules>
Expand Down

0 comments on commit e526aa1

Please sign in to comment.