GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Make warnings actually useful for beginners · ishit/processing@a632c92

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java/src/processing/mode/java/pdex
    • ErrorCheckerService.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java/src/processing/mode/java/pdex/ErrorCheckerService.java‎

Copy file name to clipboardExpand all lines: java/src/processing/mode/java/pdex/ErrorCheckerService.java
+13Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,8 @@ protected boolean ignorableSuggestionImport(String impName) {
793793

794794
JavaCore.setComplianceOptions(JavaCore.VERSION_1_7, compilerOptions);
795795

796+
// See http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.jdt.doc.isv%2Fguide%2Fjdt_api_options.htm&anchor=compiler
797+
796798
final String[] generate = {
797799
JavaCore.COMPILER_LINE_NUMBER_ATTR,
798800
JavaCore.COMPILER_SOURCE_FILE_ATTR
@@ -806,6 +808,17 @@ protected boolean ignorableSuggestionImport(String impName) {
806808
};
807809

808810
final String[] warn = {
811+
JavaCore.COMPILER_PB_NO_EFFECT_ASSIGNMENT,
812+
JavaCore.COMPILER_PB_NULL_REFERENCE,
813+
JavaCore.COMPILER_PB_POTENTIAL_NULL_REFERENCE,
814+
JavaCore.COMPILER_PB_REDUNDANT_NULL_CHECK,
815+
JavaCore.COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS,
816+
JavaCore.COMPILER_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT,
817+
JavaCore.COMPILER_PB_UNUSED_LABEL,
818+
JavaCore.COMPILER_PB_UNUSED_LOCAL,
819+
JavaCore.COMPILER_PB_UNUSED_OBJECT_ALLOCATION,
820+
JavaCore.COMPILER_PB_UNUSED_PARAMETER,
821+
JavaCore.COMPILER_PB_UNUSED_PRIVATE_MEMBER
809822
};
810823

811824
for (String s : generate) compilerOptions.put(s, JavaCore.GENERATE);

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.