Skip to content

Commit 9867822

Browse files
committed
Default constructor Prism() for main Prism API.
1 parent f9f95e3 commit 9867822

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

prism/src/prism/Prism.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,15 @@ public class ModelDetails
383383
// Constructors + options methods
384384
//------------------------------------------------------------------------------
385385

386+
/**
387+
* Construct a new Prism object.
388+
* Output will be sent to stdout.
389+
*/
390+
public Prism() throws PrismException
391+
{
392+
this(new PrismFileLog("stdout"));
393+
}
394+
386395
/**
387396
* Construct a new Prism object.
388397
* @param mainLog PrismLog where all output will be sent.

0 commit comments

Comments
 (0)