Skip to content

Commit

Permalink
Updates to reflect configuring project for Apache Tomcat
Browse files Browse the repository at this point in the history
  • Loading branch information
Brianna authored and Brianna committed Dec 4, 2016
1 parent 4d48735 commit 8a68ec6
Show file tree
Hide file tree
Showing 39 changed files with 20 additions and 25 deletions.
6 changes: 0 additions & 6 deletions .classpath

This file was deleted.

14 changes: 14 additions & 0 deletions .project
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,22 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
</natures>
</projectDescription>
11 changes: 0 additions & 11 deletions .settings/org.eclipse.jdt.core.prefs

This file was deleted.

File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function show(){
function getUnavailableItems(){
var unavailable = new Array;
var unavailable_str = localStorage.getItem('unavailable');
if(unavailable_str !== ""){
if(unavailable_str !== "" && unavailable_str !== null){
unavailable = JSON.parse(unavailable_str);
}
return unavailable;
Expand Down
1 change: 1 addition & 0 deletions WebContent/html/javascript/navbar.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ function getCartItems(){
//get them from local storage
var cart_str = localStorage.getItem('cart');
//if there is at least one object already we need to convert it from JSON to string
if (cart_str !== null) {
if (cart_str !== null && cart_str !== "") {
cart = JSON.parse(cart_str);
}
return cart;
Expand All @@ -128,7 +128,7 @@ function getCartItems(){
function getUnavailableItems(){
var unavailable = new Array;
var unavailable_str = localStorage.getItem('unavailable');
if(unavailable_str !== ""){
if(unavailable_str !== "" && unavailable_str !== null){
unavailable = JSON.parse(unavailable_str);
}
return unavailable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function getUnavailableIDs()
{
var unavailable = new Array;
var unavailable_str = localStorage.getItem('unavailable');
if(unavailable_str !== ""){
if(unavailable_str !== "" && unavailable_str !== null){
unavailable = JSON.parse(unavailable_str);
}
return unavailable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ This function gets unavailable items from local storage.
function getUnavailableItems(){
var unavailable = new Array; //make new array
var unavailable_str = localStorage.getItem('unavailable'); //get the string from local storage
if(unavailable_str !== ''){ //as long as its not null
if(unavailable_str !== '' && unavailable_str !== null){ //as long as its not null
unavailable = JSON.parse(unavailable_str); //make into array
}
return unavailable; //return value is an array
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file modified db/Workbench Schema.mwb
Binary file not shown.
Binary file modified db/Workbench Schema.mwb.bak
Binary file not shown.
1 change: 0 additions & 1 deletion html/javascript/navbar.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/features/ReturnHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ public boolean changeAvailability(String type, Device[] db)
return true;

}

public



Expand Down

0 comments on commit 8a68ec6

Please sign in to comment.