Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pipeline.indexOf(Step) returns -1 if not present #782

Merged
merged 1 commit into from
Jan 12, 2017

Conversation

SamCarlberg
Copy link
Member

Instead of throwing an exception. Threading stuff kills it.
Fixes #781

@codecov-io
Copy link

codecov-io commented Jan 11, 2017

Current coverage is 52.16% (diff: 50.00%)

Merging #782 into master will decrease coverage by 0.13%

@@             master       #782   diff @@
==========================================
  Files           238        238          
  Lines          7671       7668     -3   
  Methods           0          0          
  Messages          0          0          
  Branches        739        739          
==========================================
- Hits           4012       4000    -12   
- Misses         3478       3484     +6   
- Partials        181        184     +3   

Sunburst

Powered by Codecov. Last update 9bb8ac0...d22d4f8

Instead of throwing an exception. Threading stuff kills it.
Fixes WPIRoboticsProjects#781
Copy link
Member

@JLLeitschuh JLLeitschuh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this makes more sense.

@nightpool
Copy link

nightpool commented Jan 12, 2017 via email

@SamCarlberg
Copy link
Member Author

-1 is a standard result if the object isn't present. See the documentation for List.

@SamCarlberg SamCarlberg merged commit 2eb0506 into WPIRoboticsProjects:master Jan 12, 2017
@nightpool
Copy link

nightpool commented Jan 12, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants