Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 'master' of github.uconn.edu:jar07014/Thermocontroller
- Loading branch information
Showing
7 changed files
with
79 additions
and
16 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package InputOutput; | ||
|
||
/** | ||
* Created by David on 5/1/15. | ||
*/ | ||
public class CurrentUser { | ||
|
||
private static CurrentUser instance = null; | ||
|
||
private String email; | ||
|
||
public static CurrentUser getInstance() { | ||
if (instance == null){ | ||
try { | ||
instance = new CurrentUser(); | ||
} catch (Exception e) { | ||
e.printStackTrace(); | ||
} | ||
} | ||
return instance; | ||
} | ||
|
||
public CurrentUser(){ | ||
} | ||
|
||
public String getEmail(){ | ||
return this.email; | ||
} | ||
|
||
public void setEmail(String email){ | ||
this.email = email; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters