Browse Source

- whitespaces

master
Andreas Romeyke 2 years ago
parent
commit
436070638f
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/lib/bag.cpp

+ 4
- 4
src/lib/bag.cpp View File

@@ -32,7 +32,7 @@ Bag::Bag( string dfname ) {
getline(version_ss, vprefix, ' ');
getline(version_ss, major ,'.');
getline(version_ss, minor, '.');
if (0 != vprefix.compare("BagIt-Version:")) {
if (0 != vprefix.compare("BagIt-Version:")) {
// log << "wrong vprefix='" << vprefix << "', but 'BagIt-Version:' expected" << endl;
}
//cout << "major:'"<<major<<"'"<<endl;
@@ -45,7 +45,7 @@ Bag::Bag( string dfname ) {
string uvalue;
getline(utf8_ss, uprefix, ' ');
getline(utf8_ss, uvalue, ' ');
if (0 != uprefix.compare("Tag-File-Character-Encoding:")) {
if (0 != uprefix.compare("Tag-File-Character-Encoding:")) {
//log << "wrong uprefix='" << uprefix << "', but 'Tag-File-Character-Encoding:' expected" << endl;
}
Bag::tag_file_character_encoding = uvalue;
@@ -121,14 +121,14 @@ bool Bag::store( string basedir ) {
// store fetchfile (if needed)
if (nullptr == Bag::fetchfile_p) {
cout << "Fetchfile object needed" << endl;
} else {
Bag::fetchfile_p->store( basedir );
}
// store other
if (nullptr == Bag::othertags_p) {
cout << "Othertags object needed" << endl;
} else {
Bag::othertags_p->store( basedir );
}


Loading…
Cancel
Save