chore: reformat
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
779f70057b
commit
91ba4cf75e
603 changed files with 15840 additions and 16257 deletions
|
@ -4,42 +4,34 @@
|
|||
|
||||
// NOTE: apparently the GNU C library pollutes the global namespace with these... undef them.
|
||||
#ifdef major
|
||||
#undef major
|
||||
#undef major
|
||||
#endif
|
||||
#ifdef minor
|
||||
#undef minor
|
||||
#undef minor
|
||||
#endif
|
||||
|
||||
class JavaVersion
|
||||
{
|
||||
class JavaVersion {
|
||||
friend class JavaVersionTest;
|
||||
public:
|
||||
|
||||
public:
|
||||
JavaVersion() {}
|
||||
JavaVersion(const QString & rhs);
|
||||
JavaVersion(const QString& rhs);
|
||||
|
||||
JavaVersion & operator=(const QString & rhs);
|
||||
JavaVersion& operator=(const QString& rhs);
|
||||
|
||||
bool operator<(const JavaVersion & rhs);
|
||||
bool operator==(const JavaVersion & rhs);
|
||||
bool operator>(const JavaVersion & rhs);
|
||||
bool operator<(const JavaVersion& rhs);
|
||||
bool operator==(const JavaVersion& rhs);
|
||||
bool operator>(const JavaVersion& rhs);
|
||||
|
||||
bool requiresPermGen();
|
||||
|
||||
QString toString() const;
|
||||
|
||||
int major()
|
||||
{
|
||||
return m_major;
|
||||
}
|
||||
int minor()
|
||||
{
|
||||
return m_minor;
|
||||
}
|
||||
int security()
|
||||
{
|
||||
return m_security;
|
||||
}
|
||||
private:
|
||||
int major() { return m_major; }
|
||||
int minor() { return m_minor; }
|
||||
int security() { return m_security; }
|
||||
|
||||
private:
|
||||
QString m_string;
|
||||
int m_major = 0;
|
||||
int m_minor = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue