File tree Expand file tree Collapse file tree
annotation-file-utilities
tests/resourceleak-firstinitconstructor
javacutil/src/main/java/org/checkerframework/javacutil Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11
2- :: Insert annotations (from an annoation file) into a class file.
2+ :: Insert annotations (from an annotation file) into a class file.
33:: For usage information, run: insert-annotations.bat --help
44:: See the annotation file utilities documentation for more information.
55
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ all: clean results
1616
1717warn_and_exit :
1818 @echo " "
19- @echo " ******************************************************"
20- @echo " Warning: The sytem test has been temporarily disabled!"
21- @echo " ******************************************************"
19+ @echo " ******************************************************* "
20+ @echo " Warning: The system test has been temporarily disabled!"
21+ @echo " ******************************************************* "
2222 @echo " "
2323
2424results : out1 check-out2 out3 out4.class check-out5
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public void update(File directory) {
9191 // javax.security.auth.login.FailedLoginException:
9292 // No password data for encrypted resource=/home/mernst/.ssh/id_rsa
9393 // Furthermore, such messages cause a Java stack trace that clutters the Gradle output and makes
94- // it look like compilation falied .
94+ // it look like compilation failed .
9595 // So instead run `git pull` on the command line.
9696
9797 boolean calledGit = false ;
Original file line number Diff line number Diff line change 3131# "count-suppression-reasons-ignore"; see below for the full list.
3232
3333# This script is useful to determine the most frequent reasons for warning
34- # suppressions, to help checker developers decide what featuers to add to
34+ # suppressions, to help checker developers decide what features to add to
3535# their type systems. However, use common.util.count.AnnotationStatistics
3636# to count the total number of warning suppressions (for example, to report
3737# in a paper), because this script gives only an approximate count.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ if [ "$TRAVIS" = "true" ]; then
2626 exit 1
2727fi
2828
29- # # This command works locally, but on Azure it fails with timouts while downloading Maven dependencies.
29+ # # This command works locally, but on Azure it fails with timeouts while downloading Maven dependencies.
3030# cd guava && time mvn --debug -B package -P checkerframework-local -Dmaven.test.skip=true -Danimal.sniffer.skip=true
3131
3232# Pre-download Maven dependencies. Otherwise there are sometimes timeouts when downloading a Maven dependency.
Original file line number Diff line number Diff line change 11// Test for a field's reassignment within a constructor, where the assignments are within the
2- // brances of a conditional.
2+ // branches of a conditional.
33
44import java .io .FileInputStream ;
55import org .checkerframework .checker .calledmethods .qual .*;
Original file line number Diff line number Diff line change 11The graphs in './graphs' have been generated by running the Checker Framework on
2- the Java files (using the '-Aflowdotdir=dir' commmand -line option) and then
2+ the Java files (using the '-Aflowdotdir=dir' command -line option) and then
33running Graphviz on the output (e.g. using 'dot -Tpdf -o file.pdf file.dot').
44
55TODO: How to include only the CFG, without stores and values?
Original file line number Diff line number Diff line change @@ -514,7 +514,7 @@ def main(argv: list[str]) -> None:
514514 "Please 'Publish' the artifacts.\n "
515515 "First log into https://central.sonatype.com/publishing using your "
516516 "Sonatype credentials.\n "
517- "Find the deployment labled 'org.checkerframework (via OSSRH Staging API)'.\n "
517+ "Find the deployment labeled 'org.checkerframework (via OSSRH Staging API)'.\n "
518518 "Click on the Publish button next to it.\n "
519519 "Now it should say PUBLISHING next to the deployment. "
520520 "This will take a while, you can move onto the next release steps.\n \n "
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public String formatAnnotationMirror(AnnotationMirror anno) {
8282 /**
8383 * A helper method to output a single AnnotationMirror, without showing full package names.
8484 *
85- * @param am the annotation to formate
85+ * @param am the annotation to format
8686 * @param sb where to output the annotation's formatted representation
8787 */
8888 protected void formatAnnotationMirror (AnnotationMirror am , StringBuilder sb ) {
You can’t perform that action at this time.
0 commit comments