8000 Fix spelling: occured -> occurred · log4cplus/log4cplus@69a0357 · GitHub
[go: up one dir, main page]

Skip to content

Commit 69a0357

Browse files
committed
Fix spelling: occured -> occurred
1 parent f4c5660 commit 69a0357

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

include/log4cplus/helpers/queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class LOG4CPLUS_EXPORT Queue
120120
//! ERROR_BIT signals error.
121121
ERROR_BIT = 0x0010,
122122

123-
//! ERROR_AFTER signals error that has occured after queue has
123+
//! ERROR_AFTER signals error that has occurred after queue has
124124
//! already been touched.
125125
ERROR_AFTER = 0x0020
126126
};

src/patternlayout.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ PatternParser::parse()
836836
}
837837
else {
838838
tostringstream buf;
839-
buf << LOG4CPLUS_TEXT("Error occured in position ")
839+
buf << LOG4CPLUS_TEXT("Error occurred in position ")
840840
<< pos
841841
<< LOG4CPLUS_TEXT(".\n Was expecting digit, instead got char \" 8000 ")
842842
<< c

tests/appender_test/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ main()
183183
}
184184
}
185185
catch(std::exception const & e) {
186-
log4cplus::tcout << "**** Exception occured: " << e.what()
186+
log4cplus::tcout << "**** Exception occurred: " << e.what()
187187
<< std::endl;
188188
}
189189
}

tests/configandwatch_test/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ main(int argc, char * argv[])
7272
}
7373
catch(...) {
7474
tcout << LOG4CPLUS_TEXT("Exception...") << endl;
75-
LOG4CPLUS_FATAL(root, "Exception occured...");
75+
LOG4CPLUS_FATAL(root, "Exception occurred...");
7676
}
7777

7878
tcout << LOG4CPLUS_TEXT("Exiting main()...") << endl;

tests/ndc_test/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ main()
4949
}
5050
catch(...) {
5151
cout << "Exception..." << endl;
52-
Logger::getRoot().log(FATAL_LOG_LEVEL, LOG4CPLUS_TEXT("Exception occured..."));
52+
Logger::getRoot().log(FATAL_LOG_LEVEL, LOG4CPLUS_TEXT("Exception occurred..."));
5353
}
5454

5555
cout << "Exiting main()..." << endl;

tests/patternlayout_test/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ main()
5151
}
5252
catch(...) {
5353
cout << "Exception..." << endl;
54-
Logger::getRoot().log(FATAL_LOG_LEVEL, LOG4CPLUS_TEXT("Exception occured..."));
54+
Logger::getRoot().log(FATAL_LOG_LEVEL, LOG4CPLUS_TEXT("Exception occurred..."));
5555
}
5656

5757
cout << "Exiting main()..." << endl;

tests/performance_test/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ main(int argc, char * argv[])
139139
}
140140
catch(...) {
141141
tcout << LOG4CPLUS_TEXT("Exception...") << endl;
142-
LOG4CPLUS_FATAL(root, "Exception occured...");
142+
LOG4CPLUS_FATAL(root, "Exception occurred...");
143143
}
144144

145145
tcout << LOG4CPLUS_TEXT("Exiting main()...") << endl;

tests/propertyconfig_test/main.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ main(int argc, char * argv[])
5656
}
5757
catch(...) {
5858
tcout << LOG4CPLUS_TEXT("Exception...") << endl;
59-
LOG4CPLUS_FATAL(root, LOG4CPLUS_TEXT("Exception occured..."));
59+
LOG4CPLUS_FATAL(root, LOG4CPLUS_TEXT("Exception occurred..."));
6060
}
6161

6262
tcout << LOG4CPLUS_TEXT("Exiting main()...") << endl;

tests/thread_test/main.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ main()
125125
LOG4CPLUS_INFO(logger, "Exiting main()...");
126126
}
127127
catch(std::exception &e) {
128-
LOG4CPLUS_FATAL(Logger::getRoot(), "main()- Exception occured: " << e.what());
128+
LOG4CPLUS_FATAL(Logger::getRoot(), "main()- Exception occurred: " << e.what());
129129
}
130130
catch(...) {
131-
LOG4CPLUS_FATAL(Logger::getRoot(), "main()- Exception occured");
131+
LOG4CPLUS_FATAL(Logger::getRoot(), "main()- Exception occurred");
132132
}
133133

134134
return 0;

0 commit comments

Comments
 (0)
0