Skip to content

Commit

Permalink
Merge pull request #436 from HubSpot/make-serializable
Browse files Browse the repository at this point in the history
Make TokenScannerSymbols serializable
  • Loading branch information
mattcoley authored May 4, 2020
2 parents 014c9ef + 4ed3415 commit 759d171
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.hubspot.jinjava.tree.parse;

public class DefaultTokenScannerSymbols extends TokenScannerSymbols {
private static final long serialVersionUID = 3825893609777542598L;

char TOKEN_PREFIX_CHAR = '{';
char TOKEN_POSTFIX_CHAR = '}';
char TOKEN_FIXED_CHAR = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
**********************************************************************/
package com.hubspot.jinjava.tree.parse;

public abstract class TokenScannerSymbols {
import java.io.Serializable;

public abstract class TokenScannerSymbols implements Serializable {
private static final long serialVersionUID = -4810220023023256534L;

private String expressionStart = null;
private String expressionStartWithTag = null;
private String closingComment = null;
Expand Down

0 comments on commit 759d171

Please sign in to comment.