diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2016-07-21 18:45:27 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2016-07-26 18:58:17 +0900 |
commit | 0d872a083700f6e8153069b656d28eb7b7e2e1ec (patch) | |
tree | 4397d6a1a156c2ae0eb3e175d10124457792b000 /org.eclipse.jgit.archive/META-INF | |
parent | eb7a93bb2a01206e9d71c59963be2a7a9adf0411 (diff) | |
download | jgit-0d872a083700f6e8153069b656d28eb7b7e2e1ec.tar.gz jgit-0d872a083700f6e8153069b656d28eb7b7e2e1ec.zip |
Annotate Sets#of with @SafeVarArgs to prevent heap pollution warning
This prevents the warning:
Potential heap pollution via varargs parameter
The method doesn't do any casting of types that would cause the heap
pollution, so it should be safe to add @SafeVarArgs.
See [1] for information about this warning.
[1] http://stackoverflow.com/a/12462259/381622
Change-Id: Ic6d252915ea44b4f1c385afecb98906cd2c54382
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.archive/META-INF')
0 files changed, 0 insertions, 0 deletions