Skip to content

Commit fe5c409

Browse files
committed
more indentation fixes
1 parent 6f863fe commit fe5c409

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Zip/include/Poco/Zip/ZipArchive.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class Zip_API ZipArchive
8383

8484
FileHeaders::const_iterator headerEnd() const;
8585

86-
const std::string& getZipComment() const;
86+
const std::string& getZipComment() const;
8787

8888
private:
8989
void parse(std::istream& in, ParseCallback& pc);

Zip/src/ZipArchive.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ void ZipArchive::parse(std::istream& in, ParseCallback& pc)
120120

121121
const std::string& ZipArchive::getZipComment() const
122122
{
123-
// It seems that only the "first" disk is populated (look at Compress::close()), so getting the first ZipArchiveInfo
124-
DirectoryInfos::const_iterator it = _disks.begin();
125-
return it->second.getZipComment();
123+
// It seems that only the "first" disk is populated (look at Compress::close()), so getting the first ZipArchiveInfo
124+
DirectoryInfos::const_iterator it = _disks.begin();
125+
return it->second.getZipComment();
126126
}
127127

128128

Zip/src/ZipArchiveInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,15 +105,15 @@ std::string ZipArchiveInfo::createHeader() const
105105

106106

107107
void ZipArchiveInfo::setZipComment(const std::string& comment)
108-
{
108+
{
109109
// Confirm string is of valid size
110110
if (comment.size() > 65535)
111111
throw ZipException("Maximum number of entries for a ZIP file reached: 65535");
112112

113113
// Change the value of the ZIP Comment Size to reflect new comment size
114114
ZipUtil::set16BitValue(static_cast<Poco::UInt16>(comment.size()), _rawInfo, ZIPCOMMENT_LENGTH_POS);
115115

116-
// Now change our internal comment
116+
// Now change our internal comment
117117
_comment = comment;
118118
}
119119

Zip/testsuite/src/CompressTest.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class CompressTest: public CppUnit::TestCase
5151
void testManipulator();
5252
void testManipulatorDel();
5353
void testManipulatorReplace();
54-
void testSetZipComment();
54+
void testSetZipComment();
5555

5656
void setUp();
5757
void tearDown();

0 commit comments

Comments
 (0)