3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

Added braces

Lack of braces on multi-line statements is considered very scary in
Java.
This commit is contained in:
George Karpenkov 2016-01-06 11:14:53 +01:00
parent ccd88a63a5
commit c435bc379b
8 changed files with 84 additions and 68 deletions

View file

@ -110,8 +110,9 @@ public class Context extends IDisposable
**/
public BoolSort getBoolSort()
{
if (m_boolSort == null)
if (m_boolSort == null) {
m_boolSort = new BoolSort(this);
}
return m_boolSort;
}
@ -120,8 +121,9 @@ public class Context extends IDisposable
**/
public IntSort getIntSort()
{
if (m_intSort == null)
if (m_intSort == null) {
m_intSort = new IntSort(this);
}
return m_intSort;
}
@ -130,8 +132,9 @@ public class Context extends IDisposable
**/
public RealSort getRealSort()
{
if (m_realSort == null)
if (m_realSort == null) {
m_realSort = new RealSort(this);
}
return m_realSort;
}
@ -148,8 +151,9 @@ public class Context extends IDisposable
**/
public SeqSort getStringSort()
{
if (m_stringSort == null)
if (m_stringSort == null) {
m_stringSort = mkStringSort();
}
return m_stringSort;
}