Skip to content

Commit

Permalink
Add warning to registerDependencies javadoc
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 193559600
  • Loading branch information
shreyax authored and Copybara-Service committed Apr 19, 2018
1 parent 45c387f commit ae25202
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ default GroupedList<SkyKey> getTemporaryDirectDeps() {

/**
* Register dependencies on keys without necessarily requiring their values.
*
* <p>WARNING: Dependencies here MUST be done! Only use this function if you know what you're
* doing.
*/
default void registerDependencies(Iterable<SkyKey> keys) throws InterruptedException {
getValues(keys);
Expand Down

0 comments on commit ae25202

Please sign in to comment.