From ff29d859267908e580259bc1a9e6999de4736566 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 12 Jun 2017 22:59:47 +0100 Subject: [PATCH] Refactor: Remove unneeded TODOs. --- .../Devices/Dumping/ResumeSupport.cs | 47 +++++++++++++++++++ DiscImageChef.DiscImages/DiskCopy42.cs | 1 - DiscImageChef.Filesystems/CBM.cs | 2 - 3 files changed, 47 insertions(+), 3 deletions(-) create mode 100644 DiscImageChef.Core/Devices/Dumping/ResumeSupport.cs diff --git a/DiscImageChef.Core/Devices/Dumping/ResumeSupport.cs b/DiscImageChef.Core/Devices/Dumping/ResumeSupport.cs new file mode 100644 index 000000000..f047600da --- /dev/null +++ b/DiscImageChef.Core/Devices/Dumping/ResumeSupport.cs @@ -0,0 +1,47 @@ +// /*************************************************************************** +// The Disc Image Chef +// ---------------------------------------------------------------------------- +// +// Filename : ResumeSupport.cs +// Version : 1.0 +// Author(s) : Natalia Portillo +// +// Component : Component +// +// Revision : $Revision$ +// Last change by : $Author$ +// Date : $Date$ +// +// --[ Description ] ---------------------------------------------------------- +// +// Description +// +// --[ License ] -------------------------------------------------------------- +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// ---------------------------------------------------------------------------- +// Copyright (C) 2011-2015 Claunia.com +// ****************************************************************************/ +// //$Id$ +using System; +namespace DiscImageChef.Core.Devices.Dumping +{ + public class ResumeSupport + { + public ResumeSupport() + { + } + } +} diff --git a/DiscImageChef.DiscImages/DiskCopy42.cs b/DiscImageChef.DiscImages/DiskCopy42.cs index e9f68f308..66bbebcee 100644 --- a/DiscImageChef.DiscImages/DiskCopy42.cs +++ b/DiscImageChef.DiscImages/DiskCopy42.cs @@ -492,7 +492,6 @@ namespace DiscImageChef.ImagePlugins Resource dCpyRsrc = rsrcFork.GetResource(0x64437079); if(dCpyRsrc != null) { - // TODO: Use MacRoman string dCpy = StringHandlers.PascalToString(dCpyRsrc.GetResource(dCpyRsrc.GetIds()[0]), Encoding.GetEncoding("macintosh")); string dCpyRegEx = "(?\\S+)\\s(?\\S+)\\rData checksum=\\$(?\\S+)$"; Regex dCpyEx = new Regex(dCpyRegEx); diff --git a/DiscImageChef.Filesystems/CBM.cs b/DiscImageChef.Filesystems/CBM.cs index c1504ec0c..3f5d67b92 100644 --- a/DiscImageChef.Filesystems/CBM.cs +++ b/DiscImageChef.Filesystems/CBM.cs @@ -248,7 +248,6 @@ namespace DiscImageChef.Filesystems sbInformation.AppendFormat("DOS Version: {0}", Encoding.ASCII.GetString(new byte[] { cbmHdr.dosVersion })).AppendLine(); sbInformation.AppendFormat("Disk Version: {0}", Encoding.ASCII.GetString(new byte[] { cbmHdr.diskVersion })).AppendLine(); sbInformation.AppendFormat("Disk ID: {0}", cbmHdr.diskId).AppendLine(); - // TODO: Use PETSCII sbInformation.AppendFormat("Disk name: {0}", StringHandlers.CToString(cbmHdr.name, CurrentEncoding)).AppendLine(); xmlFSType.VolumeName = StringHandlers.CToString(cbmHdr.name, CurrentEncoding); @@ -267,7 +266,6 @@ namespace DiscImageChef.Filesystems sbInformation.AppendFormat("Disk DOS type: {0}", Encoding.ASCII.GetString(BitConverter.GetBytes(cbmBam.dosType))).AppendLine(); sbInformation.AppendFormat("DOS Version: {0}", Encoding.ASCII.GetString(new byte[] { cbmBam.dosVersion })).AppendLine(); sbInformation.AppendFormat("Disk ID: {0}", cbmBam.diskId).AppendLine(); - // TODO: Use PETSCII sbInformation.AppendFormat("Disk name: {0}", StringHandlers.CToString(cbmBam.name, CurrentEncoding)).AppendLine(); xmlFSType.VolumeName = StringHandlers.CToString(cbmBam.name, CurrentEncoding);