microsoft / vsts-authentication-library-for-java

Retrieve OAuth2 or Personal Accesss Tokens for Visual Studio Team Services (visualstudio.com) accounts. Also provides secure storage for those secrets on different platforms.
MIT License
18 stars 20 forks source link

Remove unneeded dependencies #1

Closed olivierdagenais closed 8 years ago

olivierdagenais commented 8 years ago

Manual testing

Temporarily added the following test just before e704ed4 was performed and then ran it again after the change. The resulting file created in $HOME/.swt/ the second time was identical to the first one.

@Test
public void tryGetSwtJar() throws Exception {
    final AtomicReference<File> swtJarReference = new AtomicReference<File>();

    final boolean actual = SwtJarLoader.tryGetSwtJar(swtJarReference);

    Assert.assertEquals(true, actual);
    final File actualFile = swtJarReference.get();
    Assert.assertNotNull(actualFile);
    Assert.assertTrue(actualFile.isFile());
}

Mission accomplished!

msftclas commented 8 years ago

Hi @olivierdagenais, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Oli Dagenais). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;