Skip to content

Commit

Permalink
Changed header pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
boginw committed Sep 25, 2020
1 parent a8cf433 commit 9b4125c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ android {

defaultConfig {
minSdkVersion 16
targetSdkVersion 25
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
Expand Down Expand Up @@ -73,4 +73,4 @@ task sourcesJar(type: Jar) {

artifacts {
archives sourcesJar
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class StompMessage {

public static final String TERMINATE_MESSAGE_SYMBOL = "\u0000";

private static final Pattern PATTERN_HEADER = Pattern.compile("([^:\\s]+)\\s*:\\s*([^:\\s]+)");
private static final Pattern PATTERN_HEADER = Pattern.compile("([^:\\s]+)\\s*:\\s*([^\\n]+)");

private final String mStompCommand;
private final List<StompHeader> mStompHeaders;
Expand Down

0 comments on commit 9b4125c

Please sign in to comment.