80 |
// to load GZZ1 diffs as text blocks (see GZZ1Handler.LegacyContent |
// to load GZZ1 diffs as text blocks (see GZZ1Handler.LegacyContent |
81 |
// javadoc for more info). |
// javadoc for more info). |
82 |
if(!ct.equals("text/plain; charset=UTF-8") && |
if(!ct.equals("text/plain; charset=UTF-8") && |
83 |
!ct.equals("application/x-gzigzag-GZZ1")) { |
!ct.equals("application/x-gzigzag-GZZ1") && |
84 |
|
!ct.equals("message/rfc822")) { |
85 |
loadingFailed = true; |
loadingFailed = true; |
86 |
throw new Error("Unknown text block '"+ct+"'"); |
throw new Error("Unknown text block '"+ct+"'"); |
87 |
} |
} |