diff --git a/app/DpmaXmlParser/DB.vb b/app/DpmaXmlParser/DB.vb index e9cabed..aea897c 100644 --- a/app/DpmaXmlParser/DB.vb +++ b/app/DpmaXmlParser/DB.vb @@ -9,7 +9,7 @@ Public Class DB Public FormId Public ControlId Public RecordId - Public Username As String = "BrainpoolImporter" + Public Username As String = "DPMA Importer" Public Sub New(connectionString As String, dbname As String) diff --git a/app/DpmaXmlParser/DpmaXmlParser.exe.config b/app/DpmaXmlParser/DpmaXmlParser.exe.config index 55e282f..5f09779 100644 --- a/app/DpmaXmlParser/DpmaXmlParser.exe.config +++ b/app/DpmaXmlParser/DpmaXmlParser.exe.config @@ -26,7 +26,6 @@ P = Patente (setzt eine Entität mit dem Namen "Patente" vorraus) --> - + diff --git a/app/DpmaXmlParser/Main.vb b/app/DpmaXmlParser/Main.vb index e58e31e..bd1cb72 100644 --- a/app/DpmaXmlParser/Main.vb +++ b/app/DpmaXmlParser/Main.vb @@ -228,8 +228,6 @@ Module Main Dim patentExists As Integer = database.GetRecordId(mainControlId, p.LeadingRegisteredNumber) logger.Debug("Patent {0} exists: {1}", patentExists, CBool(patentExists)) - - If (patentExists = 0) Then Try ' Einen Record erstellen @@ -310,7 +308,6 @@ Module Main logger.Error("=================== ERROR ========================") logger.Error("==================================================") logger.Error("An Error occurred: {0}", GetExceptionInfo(ex)) - ReadLine() End Try End Sub diff --git a/app/DpmaXmlParser/My Project/AssemblyInfo.vb b/app/DpmaXmlParser/My Project/AssemblyInfo.vb index 331deeb..04bf358 100644 --- a/app/DpmaXmlParser/My Project/AssemblyInfo.vb +++ b/app/DpmaXmlParser/My Project/AssemblyInfo.vb @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices ' übernehmen, indem Sie "*" eingeben: ' - + diff --git a/app/DpmaXmlParser/Patent.vb b/app/DpmaXmlParser/Patent.vb index 708b656..1ba3c79 100644 --- a/app/DpmaXmlParser/Patent.vb +++ b/app/DpmaXmlParser/Patent.vb @@ -144,7 +144,7 @@ Public Class Patent Return _abstract End Get Set(value As String) - _abstract = value.Replace("'", "''").Replace("(", "{").Replace(")", "}") + _abstract = value.Replace("'", "''") End Set End Property diff --git a/app/SetupWiX/Product.wxs b/app/SetupWiX/Product.wxs index 53f6c3d..744f9b8 100644 --- a/app/SetupWiX/Product.wxs +++ b/app/SetupWiX/Product.wxs @@ -24,7 +24,7 @@ /> - +