Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Normalize all whitespace from Daybreak summaries.

  • Loading branch information...
commit eeaab94ad5760a4f8eeb9293ab5b7d5270f4ba4a 1 parent e6fcfcc
@GraylinKim GraylinKim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/main/java/gov/nysenate/openleg/scripts/SpotCheck.java
View
2  src/main/java/gov/nysenate/openleg/scripts/SpotCheck.java
@@ -95,7 +95,7 @@ public static void main(String[] args) throws Exception {
// Compare the summaries. LBDC reports summary and law changes together
String jsonLaw = bill.getLaw();
String jsonSummary = unescapeHTML(bill.getSummary());
- String lbdcSummary = bills.get(id).summary;
+ String lbdcSummary = bills.get(id).summary.replaceAll("\\s+", " ");
if( jsonLaw != null && jsonLaw != "" && jsonLaw != "null") {
jsonSummary = unescapeHTML(jsonLaw)+" "+jsonSummary;
Please sign in to comment.
Something went wrong with that request. Please try again.