From 88c82e08facb014f4e66f6d0336ffac03040fd67 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Mon, 4 Nov 2019 16:51:44 +0100
Subject: [PATCH] fix scan service warnings

---
 .../PrivatePersonPreview_view.aod                    |  2 +-
 process/DocxTemplater_lib/process.js                 | 12 ++++++------
 process/getDocxDocument_serverProcess/process.js     | 12 ++++++------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/neonView/PrivatePersonPreview_view/PrivatePersonPreview_view.aod b/neonView/PrivatePersonPreview_view/PrivatePersonPreview_view.aod
index b67748cb35..df872e3533 100644
--- a/neonView/PrivatePersonPreview_view/PrivatePersonPreview_view.aod
+++ b/neonView/PrivatePersonPreview_view/PrivatePersonPreview_view.aod
@@ -10,7 +10,7 @@
   <children>
     <neonViewReference>
       <name>0a66aea5-bf81-47e4-941d-9158ff8f4f51</name>
-      <entityField>Contacts</entityField>
+      <entityField>Persons</entityField>
       <view>ContactTitledList_view</view>
     </neonViewReference>
   </children>
diff --git a/process/DocxTemplater_lib/process.js b/process/DocxTemplater_lib/process.js
index 94cbf78611..aacb90c1fa 100644
--- a/process/DocxTemplater_lib/process.js
+++ b/process/DocxTemplater_lib/process.js
@@ -1450,7 +1450,7 @@ var generateZipParts = function(name, file, compressedObject, offset, platform,
     decToHex(encodedComment.length, 2) +
     // disk number start
     "\x00\x00" +
-    // internal file attributes TODO
+    // internal file attributes TO DO
     "\x00\x00" +
     // external file attributes
     decToHex(extFileAttr, 4) +
@@ -6690,7 +6690,7 @@ function InflateState() {
   this.dmax = 0;              /* zlib header max distance (INFLATE_STRICT) */
   this.check = 0;             /* protected copy of check value */
   this.total = 0;             /* protected copy of output count */
-  // TODO: may be {}
+  // TO DO: may be {}
   this.head = null;           /* where to save gzip header information */
 
   /* sliding window */
@@ -7222,7 +7222,7 @@ function inflate(strm, flush) {
         if (have === 0) { break inf_leave; }
         copy = 0;
         do {
-          // TODO: 2 or 1 bytes?
+          // TO DO: 2 or 1 bytes?
           len = input[next + copy++];
           /* use constant limit because in js we should not preallocate memory */
           if (state.head && len &&
@@ -11846,7 +11846,7 @@ DOMImplementation.prototype = {
 		// Introduced in DOM Level 2:
 		//readonly attribute DOMString        internalSubset;
 
-		//TODO:..
+		//TO DO:..
 		//  readonly attribute NamedNodeMap     entities;
 		//  readonly attribute NamedNodeMap     notations;
 		return node;
@@ -12764,7 +12764,7 @@ try{
 					}
 					break;
 				default:
-					//TODO:
+					//TO DO:
 					this.data = data;
 					this.value = data;
 					this.nodeValue = data;
@@ -13002,7 +13002,7 @@ function parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){
 		if(end>start){
 			start = end;
 		}else{
-			//TODO: 这里有可能sax回退,有位置错误风险
+			//TO DO: 这里有可能sax回退,有位置错误风险
 			appendText(Math.max(tagStart,start)+1);
 		}
 	}
diff --git a/process/getDocxDocument_serverProcess/process.js b/process/getDocxDocument_serverProcess/process.js
index a3a086a5a3..9400699fad 100644
--- a/process/getDocxDocument_serverProcess/process.js
+++ b/process/getDocxDocument_serverProcess/process.js
@@ -1439,7 +1439,7 @@ var generateZipParts = function(name, file, compressedObject, offset, platform,
     decToHex(encodedComment.length, 2) +
     // disk number start
     "\x00\x00" +
-    // internal file attributes TODO
+    // internal file attributes TO DO
     "\x00\x00" +
     // external file attributes
     decToHex(extFileAttr, 4) +
@@ -6679,7 +6679,7 @@ function InflateState() {
   this.dmax = 0;              /* zlib header max distance (INFLATE_STRICT) */
   this.check = 0;             /* protected copy of check value */
   this.total = 0;             /* protected copy of output count */
-  // TODO: may be {}
+  // TO DO: may be {}
   this.head = null;           /* where to save gzip header information */
 
   /* sliding window */
@@ -7211,7 +7211,7 @@ function inflate(strm, flush) {
         if (have === 0) { break inf_leave; }
         copy = 0;
         do {
-          // TODO: 2 or 1 bytes?
+          // TO DO: 2 or 1 bytes?
           len = input[next + copy++];
           /* use constant limit because in js we should not preallocate memory */
           if (state.head && len &&
@@ -11835,7 +11835,7 @@ DOMImplementation.prototype = {
 		// Introduced in DOM Level 2:
 		//readonly attribute DOMString        internalSubset;
 
-		//TODO:..
+		//TO DO:..
 		//  readonly attribute NamedNodeMap     entities;
 		//  readonly attribute NamedNodeMap     notations;
 		return node;
@@ -12753,7 +12753,7 @@ try{
 					}
 					break;
 				default:
-					//TODO:
+					//TO DO:
 					this.data = data;
 					this.value = data;
 					this.nodeValue = data;
@@ -12991,7 +12991,7 @@ function parse(source,defaultNSMapCopy,entityMap,domBuilder,errorHandler){
 		if(end>start){
 			start = end;
 		}else{
-			//TODO: 这里有可能sax回退,有位置错误风险
+			//TO DO: 这里有可能sax回退,有位置错误风险
 			appendText(Math.max(tagStart,start)+1);
 		}
 	}
-- 
GitLab