Skip to content

Commit

Permalink
Massive spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-alexandrov committed Mar 19, 2021
1 parent cdc5d4b commit 8261210
Show file tree
Hide file tree
Showing 27 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion graveyard/Plate/Blob.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ namespace platefile {
void ReadBlob::check_fail(const char* c1, const char* c2) const {
if (m_fstream->fail()) {
m_fstream->clear();
vw_throw(BlobIoErr() << "BlobIoErr occured on blob " << m_blob_filename << " while " << c1 << " " << c2);
vw_throw(BlobIoErr() << "BlobIoErr occurred on blob " << m_blob_filename << " while " << c1 << " " << c2);
}
}

Expand Down
2 changes: 1 addition & 1 deletion graveyard/Plate/blob_file_dump.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
VW_OUT() << "An error occured while parsing command line arguments.\n\n";
VW_OUT() << "An error occurred while parsing command line arguments.\n\n";
VW_OUT() << usage.str();
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion graveyard/Plate/image2plate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ int main(int argc, char **argv) {
run(opt);
return 0;
} catch (const PlatefileErr& e) {
VW_OUT(ErrorMessage) << "A platefile error occured: " << e.what() << "\n";
VW_OUT(ErrorMessage) << "A platefile error occurred: " << e.what() << "\n";
} catch (const Exception& e) {
VW_OUT(ErrorMessage) << "Runtime Error: " << e.what() << "\n";
}
Expand Down
2 changes: 1 addition & 1 deletion graveyard/Plate/mipmap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int main( int argc, char *argv[] ) {
vw_throw(ArgumentErr() << "Image contains a pixel type not supported by snapshot.\n");
}
} catch ( const vw::Exception& e ) {
VW_OUT() << "An error occured: " << e.what() << "\nExiting.\n\n";
VW_OUT() << "An error occurred: " << e.what() << "\nExiting.\n\n";
return 1;
}

Expand Down
2 changes: 1 addition & 1 deletion graveyard/Plate/plate2tiles.cc
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n\n";
std::cout << "An error occurred while parsing command line arguments.\n\n";
std::cout << usage.str();
return 0;
}
Expand Down
4 changes: 2 additions & 2 deletions graveyard/Plate/platecopy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down Expand Up @@ -288,7 +288,7 @@ int main( int argc, char *argv[] ) {
return 1;
}
} catch ( const vw::Exception& e ) {
std::cout << "An error occured: " << e.what() << "\nExiting.\n\n";
std::cout << "An error occurred: " << e.what() << "\nExiting.\n\n";
return 1;
}

Expand Down
4 changes: 2 additions & 2 deletions graveyard/Plate/rebuild_index.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n\n";
std::cout << "An error occurred while parsing command line arguments.\n\n";
std::cout << usage.str();
return 1;
}
Expand Down Expand Up @@ -101,7 +101,7 @@ int main( int argc, char *argv[] ) {
index.rebuild_index();

} catch (const vw::Exception& e) {
std::cout << "An error occured: " << e.what() << "\nExiting.\n\n";
std::cout << "An error occurred: " << e.what() << "\nExiting.\n\n";
return 1;
}

Expand Down
4 changes: 2 additions & 2 deletions graveyard/Plate/rpc_tool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n\n";
std::cout << "An error occurred while parsing command line arguments.\n\n";
std::cout << usage.str();
return 1;
}
Expand Down Expand Up @@ -93,7 +93,7 @@ int main( int argc, char *argv[] ) {
platefile->sync();

} catch (const vw::Exception& e) {
std::cout << "An error occured: " << e.what() << "\nExiting.\n\n";
std::cout << "An error occurred: " << e.what() << "\nExiting.\n\n";
return 1;
}

Expand Down
4 changes: 2 additions & 2 deletions graveyard/Plate/snapshot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down Expand Up @@ -348,7 +348,7 @@ int main( int argc, char *argv[] ) {
}

} catch (const vw::Exception& e) {
std::cout << "An error occured: " << e.what() << "\nExiting.\n\n";
std::cout << "An error occurred: " << e.what() << "\nExiting.\n\n";
return 1;
}

Expand Down
2 changes: 1 addition & 1 deletion graveyard/Plate/tiles2plate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ int main( int argc, char *argv[] ) {
// update_read_cursor == true below.
platefile->transaction_end( true );
} catch (const vw::Exception& e) {
std::cout << "An error occured: " << e.what() << "\nExiting\n\n";
std::cout << "An error occurred: " << e.what() << "\nExiting\n\n";
return 1;
}

Expand Down
2 changes: 1 addition & 1 deletion graveyard/geoblend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion graveyard/run_ba_tests_lib/File/Path.pm
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ An example usage looks like:
Note that if no errors are encountered, C<$err> will reference an
empty array. This means that C<$err> will always end up TRUE; so you
need to test C<@$err> to determine if errors occured.
need to test C<@$err> to determine if errors occurred.
=head2 NOTES
Expand Down
2 changes: 1 addition & 1 deletion src/vw/Core/tests/TestThread.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class TestTask {
while( !terminate ) {
Thread::sleep_ms(100);
if (count++ > 50) {
std::cerr << "Test thread iterated 100 times... it shouldn't take this long. Maybe deadlock occured?" << std::endl;
std::cerr << "Test thread iterated 100 times... it shouldn't take this long. Maybe deadlock occurred?" << std::endl;
exit(-1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/vw/Core/tests/TestThreadPool.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class TestTask : public Task, private boost::noncopyable {
while( !terminate ) {
Thread::sleep_ms(10);
if (count++ > 500) {
std::cerr << "Test thread iterated 100 times... it shouldn't take this long. Maybe deadlock occured?" << std::endl;
std::cerr << "Test thread iterated 100 times... it shouldn't take this long. Maybe deadlock occurred?" << std::endl;
exit(-1);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/vw/FileIO/DiskImageResourcePDS.cc
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void vw::DiskImageResourcePDS::read( ImageBuffer const& dest, BBox2i const& bbox
image_file.read((char*)image_data, bytes_per_pixel*total_pixels);

if (image_file.bad())
vw_throw(IOErr() << "DiskImageResourcePDS: an unrecoverable error occured while reading the image data.");
vw_throw(IOErr() << "DiskImageResourcePDS: an unrecoverable error occurred while reading the image data.");

// Convert the endian-ness of the data if the architecture of the
// machine and the endianness of the file do not match.
Expand Down
2 changes: 1 addition & 1 deletion src/vw/FileIO/KML.cc
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ namespace vw {
m_output_file.open( kml_path, std::ios::out);

if (!m_output_file.good())
vw_throw(IOErr() << "An error occured while trying to write KML file.");
vw_throw(IOErr() << "An error occurred while trying to write KML file.");

m_output_file << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
m_output_file << "<kml xmlns=\"http://www.opengis.net/kml/2.2\" xmlns:gx=\"http://www.google.com/kml/ext/2.2\" xmlns:kml=\"http://www.opengis.net/kml/2.2\" xmlns:atom=\"http://www.w3.org/2005/Atom\">\n";
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/bayer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(desc).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << desc;
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/blend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(desc).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << desc << std::endl;
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/clean_sentinel1_borders.cc
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ int main(int argc, char **argv) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/correlate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(desc).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << desc << std::endl;
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/detect_water.cc
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ int main(int argc, char **argv) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/georef.cc
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/image2toast.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ int main(int argc, char **argv) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/ipfind.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int main(int argc, char** argv) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/ipmatch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ int main(int argc, char** argv) {
po::store( po::command_line_parser( argc, argv ).options(options).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << usage.str();
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/slopemap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(desc).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
std::cout << "An error occured while parsing command line arguments.\n";
std::cout << "An error occurred while parsing command line arguments.\n";
std::cout << "\t" << e.what() << "\n\n";
std::cout << desc << std::endl;
return 1;
Expand Down
2 changes: 1 addition & 1 deletion src/vw/tools/undistort_image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ int main( int argc, char *argv[] ) {
po::store( po::command_line_parser( argc, argv ).options(desc).positional(p).run(), vm );
po::notify( vm );
} catch (const po::error& e) {
vw_out() << "An error occured while parsing command line arguments.\n";
vw_out() << "An error occurred while parsing command line arguments.\n";
vw_out() << "\t" << e.what() << "\n\n";
vw_out() << desc;
return 1;
Expand Down

0 comments on commit 8261210

Please sign in to comment.