Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
TODOs: Remove TODOs no longer needed from code
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 29 Oct 2017 18:53:12 +0000 (18:53 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 29 Oct 2017 18:53:12 +0000 (18:53 +0000)
source/actmgr/frmActivityMgr.cpp
source/carddav2/carddav2.cpp
source/contacteditor/frmContactEditor.cpp
source/tests/xestiaab_carddav.cpp

index a2168e2..17fb6ee 100644 (file)
@@ -1706,8 +1706,6 @@ void frmActivityMgr::ProcessTasksThread()
                                                                break;
                                                        }
                                                        
-                                                       // TODO: Continue from here!
-                                                       
                                                        ETagServer = wxString::FromUTF8(ServerEntityTag.EntityTag.c_str());
                                
                                                        if (ETagOriginal != ETagServer){
index 0f79c11..6e414c7 100644 (file)
@@ -1268,8 +1268,6 @@ COContactList CardDAV2::GetContactList(std::string SyncToken){
        
        std::string SyncData;
        
-       // TODO: Copy old code from CardDAV class as needed.
-       
        if (SyncToken.size() > 0){
                
                SyncData = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n"
index 4856537..ad16901 100644 (file)
 #include "../common/uuid.h"
 #include "../common/dirs.h"
 
-// TODO: Investigate problems with SFML & PulseAudio - CPU usage problems when
-// not being used.
-
-// Replace intResult with intValueSeek.
-
 BEGIN_EVENT_TABLE(frmContactEditor, wxFrame)
 EVT_COMMAND(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, frmContactEditor::ContactFileChanged)
 END_EVENT_TABLE()
@@ -180,18 +175,6 @@ void frmContactEditor::SetupAccountData(bool UnsupportedAccount){
 
 int frmContactEditor::GetLastInt(std::map<int, wxString> *MapData){
     
-       /*
-       int intResult = 0;
-     
-       std::map<int,wxString>::iterator iwxsit;
-     
-       for( iwxsit=(*MapData).begin(); iwxsit != (*MapData).end(); iwxsit++){
-       intResult = (*iwxsit).first;
-       }
-     
-       return intResult;
-       */
-    
        intValueSeek++;
        return intValueSeek;
     
@@ -199,14 +182,6 @@ int frmContactEditor::GetLastInt(std::map<int, wxString> *MapData){
 
 int frmContactEditor::GetLastInt(std::map<int, std::string> *MapData){
     
-       /* int intResult = 0;
-     
-       std::map<int,std::string>::iterator iwxsit;
-     
-       for( iwxsit=(*MapData).begin(); iwxsit != (*MapData).end(); iwxsit++){
-       intResult = (*iwxsit).first;
-       }*/
-    
        intValueSeek++;
        return intValueSeek;
     
index a4fa5ec..6dd7bab 100644 (file)
@@ -21,8 +21,6 @@
 #include <chrono>
 #include <thread>
 
-// TODO: Add tests for the CardDAV object.
-
 TEST(CardDAV, Use_Fake_To_Setup_And_Check_Connection_Settings_With_TestMode_True){
        
        std::string ServerAddress1 = "gibberish.invalid";
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy