Skip to content

Commit 8786435

Browse files
committed
Rename deviation to exception
1 parent f80e172 commit 8786435

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

class-generator/src/main/java/com/sandflow/smpte/mxf/ClassGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public void visit(ClassDefinition def) throws VisitorException {
204204

205205
data.put("className", def.getSymbol());
206206
data.put("identification", def.getIdentification().toString());
207-
/* DEVIATION: PictureDescriptor is marked Abstract but should be Concrete */
207+
/* ECXEPTION: PictureDescriptor is marked Abstract but should be Concrete */
208208
if (!def.isConcrete() && !PICTUREDESCRIPTOR_UL.equalsIgnoreVersion(def.getIdentification())) {
209209
data.put("isAbstract", "1");
210210
}
@@ -714,7 +714,7 @@ public static void generate(MetaDictionaryCollection mds, LabelsRegister lr, Ess
714714
g.getTypeInformation(def);
715715
} else if (def instanceof PropertyDefinition) {
716716
var propDef = (PropertyDefinition) def;
717-
/* DEVIATION: some elements have local tags > 0x8000 */
717+
/* ECXEPTION: some elements have local tags > 0x8000 */
718718
if (propDef.getLocalIdentification() != 0 && propDef.getLocalIdentification() < 0x8000) {
719719
propList.add(propDef);
720720
}

common/src/main/java/com/sandflow/smpte/klv/KLVDataOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void writeAUID(AUID auid) throws IOException, EOFException {
109109

110110
/**
111111
* Writes a single BER-encoded length. The maximum length of the encoded
112-
* length is 8 bytes. DEVIATION: the minimum length is 4 bytes for
112+
* length is 8 bytes. ECXEPTION: the minimum length is 4 bytes for
113113
* compatibility with ASDCPLib
114114
*
115115
* @return Length

library/src/main/java/com/sandflow/smpte/mxf/ClipReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public class ClipReader extends InputStream {
5858
this.elementLength = mis.readBERLength();
5959

6060
/*
61-
* DEVIATION: Some versions of ASDCPLib index from the start of the K of the
61+
* ECXEPTION: Some versions of ASDCPLib index from the start of the K of the
6262
* clip instead of from the start of the V of the clip
6363
*/
6464
GCEssenceTracks tracks = new GCEssenceTracks(this.info.getPreface());

0 commit comments

Comments
 (0)