beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Halperin (JIRA)" <>
Subject [jira] [Created] (BEAM-934) Findbugs doesn't pass in Java8 Examples
Date Mon, 07 Nov 2016 17:50:58 GMT
Daniel Halperin created BEAM-934:

             Summary: Findbugs doesn't pass in Java8 Examples
                 Key: BEAM-934
             Project: Beam
          Issue Type: Bug
          Components: examples-java
            Reporter: Daniel Halperin
            Assignee: Davor Bonaci

[INFO] --- findbugs-maven-plugin:3.0.1:check (default) @ beam-examples-java ---
[INFO] BugInstance size is 4
[INFO] Error size is 0
[INFO] Total bugs: 4
[INFO] Possible null pointer dereference in org.apache.beam.examples.complete.TfIdf.listInputDocuments(TfIdf$Options)
due to return value of called method [org.apache.beam.examples.complete.TfIdf, org.apache.beam.examples.complete.TfIdf]
Dereferenced at[line 124]Known null at[line 124]
[INFO] Bad attempt to compute absolute value of signed 32-bit hashcode in org.apache.beam.examples.complete.TopWikipediaSessions$ComputeTopSessions$1.processElement(DoFn$ProcessContext)
[org.apache.beam.examples.complete.TopWikipediaSessions$ComputeTopSessions$1] At[line
[INFO] org.apache.beam.examples.complete.TrafficRoutes$StationSpeed defines compareTo(TrafficRoutes$StationSpeed)
and uses Object.equals() [org.apache.beam.examples.complete.TrafficRoutes$StationSpeed] At[line 113]
[INFO] org.apache.beam.examples.cookbook.TriggerExample$InsertDelays.processElement(DoFn$ProcessContext)
uses the nextDouble method of Random to generate a random integer; using nextInt is more efficient
[org.apache.beam.examples.cookbook.TriggerExample$InsertDelays] At[line

This message was sent by Atlassian JIRA

View raw message