Changeset 35750


Ignore:
Timestamp:
2021-11-25T14:01:20+13:00 (10 days ago)
Author:
cstephen
Message:

Cleanup DI

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/the-macronizer/trunk/src/java/web/servlets/DirectInput.java

    r35732 r35750  
    6868            throws IllegalStateException, IOException
    6969    {
    70         response.sendError(405); // 405 Method Not Allowed
     70        response.sendError(405, "Expected a POST request with form URL-encoded parameters."); // 405 Method Not Allowed
    7171    }
    7272
     
    111111                writer.beginArray();
    112112               
    113                 final Pattern pattern = Pattern.compile("([^\\s]+)|([\\r\\n]+)");// Pattern.compile("([a-zA-Zā-ūĀ-Ū0-9</>]+|\\p{Punct})|([\\r?\\n]+)", Pattern.DOTALL);
     113                final Pattern pattern = Pattern.compile("([^\\s]+)|([\\r\\n]+)");
    114114                final Matcher matcher = pattern.matcher(restoredFragment);
    115115
Note: See TracChangeset for help on using the changeset viewer.