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
<html> | |
<head> | |
<title>Spirits Of Sparta</title> | |
<script> | |
var mousePos = {x: 0, y: 0}; | |
var currency = 0; | |
function getMousePos(canvas, evt) { | |
var rect = canvas.getBoundingClientRect(); |
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
diff --git a/src/main/java/com/stripe/model/EventDataDeserializer.java b/src/main/java/com/stripe/model/EventDataDeserializer.java | |
index 9489b98..f4106f4 100644 | |
--- a/src/main/java/com/stripe/model/EventDataDeserializer.java | |
+++ b/src/main/java/com/stripe/model/EventDataDeserializer.java | |
@@ -99,7 +99,9 @@ public class EventDataDeserializer implements JsonDeserializer<EventData> { | |
JsonElement element = entry.getValue(); | |
if("previous_attributes".equals(key)) { | |
Map<String, Object> previousAttributes = new HashMap<String, Object>(); | |
- populateMapFromJSONObject(previousAttributes, element.getAsJsonObject()); | |
+ if (element.getAsJsonObject() != null) { |