Permalink
Browse files

Normalize all whitespace from Daybreak summaries.

  • Loading branch information...
1 parent e6fcfcc commit eeaab94ad5760a4f8eeb9293ab5b7d5270f4ba4a @GraylinKim GraylinKim committed Apr 11, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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;

0 comments on commit eeaab94

Please sign in to comment.