Skip to content

Commit 1af2d59

Browse files
committed
Prepare for release!
1 parent 226ff7c commit 1af2d59

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<name>Shubham Rao</name>
1515
</organization>
1616
<packaging>jar</packaging>
17-
<version>1.0.0</version>
17+
<version>1.0.1</version>
1818

1919
<properties>
2020
<maven.compiler.source>1.8</maven.compiler.source>

src/main/java/com/github/cshubhamrao/AUtDv2/net/GDrive.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
*
5050
* @author Shubham Rao <cshubhamrao@gmail.com>
5151
*/
52-
public class GDrive {
52+
class GDrive {
5353

5454
private static final Logger logger = Log.logger;
5555

src/main/java/com/github/cshubhamrao/AUtDv2/net/GoogleDriver.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import java.util.logging.Logger;
3535

3636
/**
37+
* A "Driver" for all the Google Drive Stuff.
3738
*
3839
* @author Shubham Rao <cshubhamrao@gmail.com>
3940
*/
@@ -46,10 +47,22 @@ public class GoogleDriver {
4647

4748
private Credential creds;
4849

50+
/**
51+
* Spawns a new thread to undertake user authorization.
52+
*
53+
*/
4954
public void authorize() {
5055
new Thread(() -> service = new GDrive().getDriveService()).start();
5156
}
5257

58+
/**
59+
* Uploads the file to Google Drive.
60+
*
61+
* MESSY CODE. FIX THIS.
62+
*
63+
* @param localFile File to upload
64+
* @return
65+
*/
5366
public String upload(java.io.File localFile) {
5467
try {
5568
if (localFile.length() == 0) {

0 commit comments

Comments
 (0)