Skip to content

Commit a47e82a

Browse files
committed
style fixes
1 parent e2481c6 commit a47e82a

19 files changed

Lines changed: 666 additions & 630 deletions

‎Zip/include/Poco/Zip/Compress.h‎

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
//
66
// Library: Zip
77
// Package: Zip
8-
// Module: Compress
8+
// Module: Compress
99
//
1010
// Definition of the Compress class.
1111
//
1212
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
1313
// and Contributors.
1414
//
15-
// SPDX-License-Identifier: BSL-1.0
15+
// SPDX-License-Identifier: BSL-1.0
1616
//
1717

1818

@@ -42,7 +42,7 @@ class Zip_API Compress
4242
/// seekableOut determines how we write the zip, setting it to true is recommended for local files (smaller zip file),
4343
/// if you are compressing directly to a network, you MUST set it to false
4444
/// If forceZip64 is set true then the file header is allocated with zip64 extension so that it can be updated after the file data is written
45-
/// if seekableOut is true in case the compressed or uncompressed size exceeds 32 bits.
45+
/// if seekableOut is true in case the compressed or uncompressed size exceeds 32 bits.
4646

4747
~Compress();
4848

@@ -80,10 +80,10 @@ class Zip_API Compress
8080
/// leads to worse results. Extensions will be converted to lower case.
8181
///
8282
/// The default extensions are:
83-
/// - gif
84-
/// - jpg
85-
/// - jpeg
86-
/// - png
83+
/// - gif
84+
/// - jpg
85+
/// - jpeg
86+
/// - png
8787

8888
const std::set<std::string>& getStoreExtensions() const;
8989
/// Returns the file extensions for which the CM_STORE compression method
@@ -108,16 +108,16 @@ class Zip_API Compress
108108
/// copys an already compressed ZipEntry from in
109109

110110
private:
111-
std::set<std::string> _storeExtensions;
112-
std::ostream& _out;
113-
bool _seekableOut;
114-
bool _forceZip64;
115-
ZipArchive::FileHeaders _files;
116-
ZipArchive::FileInfos _infos;
117-
ZipArchive::DirectoryInfos _dirs;
111+
std::set<std::string> _storeExtensions;
112+
std::ostream& _out;
113+
bool _seekableOut;
114+
bool _forceZip64;
115+
ZipArchive::FileHeaders _files;
116+
ZipArchive::FileInfos _infos;
117+
ZipArchive::DirectoryInfos _dirs;
118118
ZipArchive::DirectoryInfos64 _dirs64;
119-
Poco::UInt64 _offset;
120-
std::string _comment;
119+
Poco::UInt64 _offset;
120+
std::string _comment;
121121

122122
friend class Keep;
123123
friend class Rename;
@@ -127,6 +127,8 @@ class Zip_API Compress
127127
//
128128
// inlines
129129
//
130+
131+
130132
inline void Compress::setZipComment(const std::string& comment)
131133
{
132134
_comment = comment;

‎Zip/include/Poco/Zip/ZipArchive.h‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
//
66
// Library: Zip
77
// Package: Zip
8-
// Module: ZipArchive
8+
// Module: ZipArchive
99
//
1010
// Definition of the ZipArchive class.
1111
//
1212
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
1313
// and Contributors.
1414
//
15-
// SPDX-License-Identifier: BSL-1.0
15+
// SPDX-License-Identifier: BSL-1.0
1616
//
1717

1818

@@ -73,9 +73,9 @@ class Zip_API ZipArchive
7373
ZipArchive(const FileHeaders& entries, const FileInfos& infos, const DirectoryInfos& dirs, const DirectoryInfos64& dirs64 );
7474

7575
private:
76-
FileHeaders _entries;
76+
FileHeaders _entries;
7777
/// Info generated by parsing the data block of the zip file
78-
FileInfos _infos;
78+
FileInfos _infos;
7979
/// Info generated by parsing the directory block of the zip file
8080
DirectoryInfos _disks;
8181
/// Stores directory info for all found disks

0 commit comments

Comments
 (0)