<property file="nbproject/project.properties"/>\r
</target>\r
<target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">\r
- <j2seproject1:property name="platform.home" value="platforms.${platform.active}.home"/>\r
- <j2seproject1:property name="platform.bootcp" value="platforms.${platform.active}.bootclasspath"/>\r
- <j2seproject1:property name="platform.compiler" value="platforms.${platform.active}.compile"/>\r
- <j2seproject1:property name="platform.javac.tmp" value="platforms.${platform.active}.javac"/>\r
- <condition property="platform.javac" value="${platform.home}/bin/javac">\r
- <equals arg1="${platform.javac.tmp}" arg2="$${platforms.${platform.active}.javac}"/>\r
- </condition>\r
- <property name="platform.javac" value="${platform.javac.tmp}"/>\r
- <j2seproject1:property name="platform.java.tmp" value="platforms.${platform.active}.java"/>\r
- <condition property="platform.java" value="${platform.home}/bin/java">\r
- <equals arg1="${platform.java.tmp}" arg2="$${platforms.${platform.active}.java}"/>\r
- </condition>\r
- <property name="platform.java" value="${platform.java.tmp}"/>\r
- <j2seproject1:property name="platform.javadoc.tmp" value="platforms.${platform.active}.javadoc"/>\r
- <condition property="platform.javadoc" value="${platform.home}/bin/javadoc">\r
- <equals arg1="${platform.javadoc.tmp}" arg2="$${platforms.${platform.active}.javadoc}"/>\r
- </condition>\r
- <property name="platform.javadoc" value="${platform.javadoc.tmp}"/>\r
- <condition property="platform.invalid" value="true">\r
- <or>\r
- <contains string="${platform.javac}" substring="$${platforms."/>\r
- <contains string="${platform.java}" substring="$${platforms."/>\r
- <contains string="${platform.javadoc}" substring="$${platforms."/>\r
- </or>\r
- </condition>\r
- <fail unless="platform.home">Must set platform.home</fail>\r
- <fail unless="platform.bootcp">Must set platform.bootcp</fail>\r
- <fail unless="platform.java">Must set platform.java</fail>\r
- <fail unless="platform.javac">Must set platform.javac</fail>\r
- <fail if="platform.invalid">\r
- The J2SE Platform is not correctly set up.\r
- Your active platform is: ${platform.active}, but the corresponding property "platforms.${platform.active}.home" is not found in the project's properties files. \r
- Either open the project in the IDE and setup the Platform with the same name or add it manually.\r
- For example like this:\r
- ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.${platform.active}.home" in a .properties file)\r
- or ant -Dplatforms.${platform.active}.home=<path_to_JDK_home> jar (where no properties file is used) \r
- </fail>\r
<available file="${manifest.file}" property="manifest.available"/>\r
<condition property="splashscreen.available">\r
<and>\r
<condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">\r
<length length="0" string="${endorsed.classpath}" when="greater"/>\r
</condition>\r
+ <condition else="false" property="jdkBug6558476">\r
+ <and>\r
+ <matches pattern="1\.[56]" string="${java.specification.version}"/>\r
+ <not>\r
+ <os family="unix"/>\r
+ </not>\r
+ </and>\r
+ </condition>\r
+ <property name="javac.fork" value="${jdkBug6558476}"/>\r
<property name="jar.index" value="false"/>\r
<property name="jar.index.metainf" value="${jar.index}"/>\r
<available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>\r
<property location="${build.dir}/empty" name="empty.dir"/>\r
<mkdir dir="${empty.dir}"/>\r
<mkdir dir="@{apgeneratedsrcdir}"/>\r
- <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
<src>\r
<dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
<include name="*"/>\r
<sequential>\r
<property location="${build.dir}/empty" name="empty.dir"/>\r
<mkdir dir="${empty.dir}"/>\r
- <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" executable="${platform.javac}" fork="yes" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
+ <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
<src>\r
<dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
<include name="*"/>\r
<attribute default="**" name="testincludes"/>\r
<sequential>\r
<property name="junit.forkmode" value="perTest"/>\r
- <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" jvm="${platform.java}" showoutput="true" tempdir="${build.dir}">\r
+ <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">\r
<batchtest todir="${build.test.results.dir}"/>\r
<classpath>\r
<path path="${run.test.classpath}"/>\r
<classpath>\r
<path path="@{classpath}"/>\r
</classpath>\r
- <bootclasspath>\r
- <path path="${platform.bootcp}"/>\r
- </bootclasspath>\r
</nbjpdastart>\r
</sequential>\r
</macrodef>\r
</macrodef>\r
</target>\r
<target name="-init-debug-args">\r
- <exec executable="${platform.java}" outputproperty="version-output">\r
- <arg value="-version"/>\r
- </exec>\r
+ <property name="version-output" value="java version "${ant.java.version}"/>\r
<condition property="have-jdk-older-than-1.4">\r
<or>\r
<contains string="${version-output}" substring="java version "1.0"/>\r
<attribute default="${debug.classpath}" name="classpath"/>\r
<element name="customize" optional="true"/>\r
<sequential>\r
- <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">\r
+ <java classname="@{classname}" dir="${work.dir}" fork="true">\r
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
<jvmarg line="${debug-args-line}"/>\r
<jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>\r
<attribute default="${run.classpath}" name="classpath"/>\r
<element name="customize" optional="true"/>\r
<sequential>\r
- <java classname="@{classname}" dir="${work.dir}" fork="true" jvm="${platform.java}">\r
+ <java classname="@{classname}" dir="${work.dir}" fork="true">\r
<jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
<jvmarg value="-Dfile.encoding=${runtime.encoding}"/>\r
<redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>\r
<path path="${run.classpath}"/>\r
<map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
</pathconvert>\r
- <echo level="info">${platform.java} -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>\r
+ <echo level="info">java -cp "${run.classpath.with.dist.jar}" ${main.class}</echo>\r
</target>\r
<target depends="init" if="do.archive" name="-do-jar-with-libraries-create-manifest" unless="manifest.available">\r
<tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
<j2seproject3:copylibs manifest="${tmp.manifest.file}"/>\r
<echo level="info">To run this application from the command line without Ant, try:</echo>\r
<property location="${dist.jar}" name="dist.jar.resolved"/>\r
- <echo level="info">${platform.java} -jar "${dist.jar.resolved}"</echo>\r
+ <echo level="info">java -jar "${dist.jar.resolved}"</echo>\r
</target>\r
<target depends="-do-jar-with-libraries-pack" if="do.archive" name="-do-jar-with-libraries-delete-manifest">\r
<delete>\r
-->\r
<target depends="init" if="have.sources" name="-javadoc-build">\r
<mkdir dir="${dist.javadoc.dir}"/>\r
- <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" executable="${platform.javadoc}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">\r
+ <javadoc additionalparam="${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">\r
<classpath>\r
<path path="${javac.classpath}"/>\r
</classpath>\r
- <fileset dir="${src.src.dir}" excludes="${excludes}" includes="${includes}">\r
+ <fileset dir="${src.src.dir}" excludes="*.java,${excludes}" includes="${includes}">\r
<filename name="**/*.java"/>\r
</fileset>\r
<fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">\r
<include name="**/*.java"/>\r
+ <exclude name="*.java"/>\r
</fileset>\r
</javadoc>\r
<copy todir="${dist.javadoc.dir}">\r
-build.xml.data.CRC32=0fe54e23\r
+build.xml.data.CRC32=5afba316\r
build.xml.script.CRC32=ef618d2d\r
-build.xml.stylesheet.CRC32=28e38971@1.43.1.45\r
+build.xml.stylesheet.CRC32=28e38971@1.44.1.45\r
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.\r
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.\r
-nbproject/build-impl.xml.data.CRC32=0fe54e23\r
-nbproject/build-impl.xml.script.CRC32=34b388b3\r
-nbproject/build-impl.xml.stylesheet.CRC32=0c01fd8e@1.43.1.45\r
+nbproject/build-impl.xml.data.CRC32=5afba316\r
+nbproject/build-impl.xml.script.CRC32=f0904f14\r
+nbproject/build-impl.xml.stylesheet.CRC32=0ae3a408@1.44.1.45\r
-config=Make_images\r
+config=Infos\r
-application.args=--input C:\\Users\\Vincent\\Documents\\links\\document.pdf --infos\r
+application.args=--input H:\\Documents\\fwstk\\infos\\document.pdf --infos\r
do.jar=true\r
javac.debug=true\r
javadoc.preview=true\r
-user.properties.file=C:\\Users\\Cube\\.netbeans\\7.0\\build.properties\r
+user.properties.file=C:\\Users\\Vincent\\.netbeans\\7.0\\build.properties\r
<?xml version="1.0" encoding="UTF-8"?>\r
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">\r
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>\r
+ <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/1">\r
+ <file>file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/com/fluidbook/fwstk/Main.java</file>\r
+ <file>file:/H:/Works/cubeExtranet/fluidbook/tools/fwstk/src/cube/util/Array.java</file>\r
+ </open-files>\r
</project-private>\r
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">\r
+<properties>\r
+<entry key="2_profiler.settings.code.region.cpu.res.buf.size">1000</entry>\r
+<entry key="2_profiler.settings.sort.results.by.thread.cpu.time">false</entry>\r
+<entry key="0_profiler.settings.instrumentation.filter.selectedprofiler.filter.type">profiler.simple.filter</entry>\r
+<entry key="0_profiler.settings.instrument.empty.methods">false</entry>\r
+<entry key="0_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.name"/>\r
+<entry key="1_profiler.settings.profiling.type">8</entry>\r
+<entry key="0_profiler.settings.cpu.exclude.wait.time">true</entry>\r
+<entry key="0_profiler.settings.override.working.dir"/>\r
+<entry key="1_profiler.settings.thread.cpu.timer.on">false</entry>\r
+<entry key="1_profiler.settings.instrumentation.root.methods.size">0</entry>\r
+<entry key="2_profiler.settings.override">false</entry>\r
+<entry key="1_profiler.settings.threads.sampling.enabled">true</entry>\r
+<entry key="profiler.settings.lastselected">1</entry>\r
+<entry key="0_profiler.settings.threads.monitoring.enabled">false</entry>\r
+<entry key="2_profiler.settings.instrument.spawned.threads">false</entry>\r
+<entry key="0_profiler.settings.istrument.getter.setter.methods">false</entry>\r
+<entry key="2_profiler.settings.instrumentation.filter.selectedprofiler.filter.type">profiler.simple.filter</entry>\r
+<entry key="2_profiler.settings.n.profiled.threads.limit">32</entry>\r
+<entry key="1_profiler.settings.sort.results.by.thread.cpu.time">false</entry>\r
+<entry key="2_profiler.settings.instr.scheme">1</entry>\r
+<entry key="1_profiler.settings.instrument.method.invoke">true</entry>\r
+<entry key="1_profiler.settings.instr.scheme">3</entry>\r
+<entry key="2_profiler.settings.sampling.interval">10</entry>\r
+<entry key="0_profiler.settings.instr.scheme">1</entry>\r
+<entry key="1_profiler.settings.run.gc.on.get.results.in.memory.profiling">true</entry>\r
+<entry key="2_profiler.settings.settings.name">Analyze Memory</entry>\r
+<entry key="0_profiler.settings.sort.results.by.thread.cpu.time">false</entry>\r
+<entry key="0_profiler.settings.profiling.type">1</entry>\r
+<entry key="1_profiler.settings.cpu.exclude.wait.time">true</entry>\r
+<entry key="2_profiler.settings.obj.alloc.stack.sampling.interval">10</entry>\r
+<entry key="1_profiler.settings.obj.alloc.stack.sampling.depth">0</entry>\r
+<entry key="1_profiler.settings.cpu.quick.filterprofiler.filter.type">profiler.simple.filter</entry>\r
+<entry key="1_profiler.settings.instrumentation.marker.methods.size">0</entry>\r
+<entry key="2_profiler.settings.thread.cpu.timer.on">false</entry>\r
+<entry key="0_profiler.settigns.ispreset">true</entry>\r
+<entry key="0_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.value"/>\r
+<entry key="0_profiler.settings.cpu.quick.filterprofiler.simple.filter.type">1</entry>\r
+<entry key="2_profiler.settings.override.working.dir"/>\r
+<entry key="0_profiler.settings.threads.sampling.enabled">true</entry>\r
+<entry key="2_profiler.settings.cpu.quick.filterprofiler.simple.filter.value"/>\r
+<entry key="2_profiler.settings.override.jvm.args"/>\r
+<entry key="0_profiler.settings.profile.underlying.framework">false</entry>\r
+<entry key="2_profiler.settings.profile.underlying.framework">false</entry>\r
+<entry key="2_profiler.settings.cpu.exclude.wait.time">true</entry>\r
+<entry key="2_profiler.settings.threads.monitoring.enabled">false</entry>\r
+<entry key="1_profiler.settings.instrument.spawned.threads">false</entry>\r
+<entry key="1_profiler.settings.n.profiled.threads.limit">32</entry>\r
+<entry key="0_profiler.settings.cpu.quick.filterprofiler.simple.filter.name">Quick filter...</entry>\r
+<entry key="2_profiler.settings.instrumentation.root.methods.size">0</entry>\r
+<entry key="2_profiler.settings.instrument.empty.methods">false</entry>\r
+<entry key="2_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.type">0</entry>\r
+<entry key="1_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.value">{$project.classes.only}</entry>\r
+<entry key="1_profiler.settings.sampling.interval">10</entry>\r
+<entry key="2_profiler.settings.cpu.profiling.type">0</entry>\r
+<entry key="0_profiler.settings.run.gc.on.get.results.in.memory.profiling">true</entry>\r
+<entry key="1_profiler.settigns.ispreset">true</entry>\r
+<entry key="2_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.name"/>\r
+<entry key="0_profiler.settings.instrument.method.invoke">true</entry>\r
+<entry key="0_profiler.settings.obj.alloc.stack.sampling.interval">10</entry>\r
+<entry key="1_profiler.settings.cpu.quick.filterprofiler.simple.filter.value"/>\r
+<entry key="1_profiler.settings.code.region.cpu.res.buf.size">1000</entry>\r
+<entry key="0_profiler.settings.instrumentation.marker.methods.size">0</entry>\r
+<entry key="1_profiler.settings.instrumentation.filter.selectedprofiler.filter.type">profiler.simple.filter</entry>\r
+<entry key="0_profiler.settings.override">false</entry>\r
+<entry key="1_profiler.settings.settings.name">Analyze Performance</entry>\r
+<entry key="2_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.value"/>\r
+<entry key="1_profiler.settings.cpu.quick.filterprofiler.simple.filter.type">1</entry>\r
+<entry key="1_profiler.settings.cpu.profiling.type">0</entry>\r
+<entry key="1_profiler.settings.override.jvm.args"/>\r
+<entry key="2_profiler.settings.obj.alloc.stack.sampling.depth">0</entry>\r
+<entry key="1_profiler.settings.instrument.empty.methods">false</entry>\r
+<entry key="0_profiler.settings.cpu.quick.filterprofiler.filter.type">profiler.simple.filter</entry>\r
+<entry key="1_profiler.settings.cpu.quick.filterprofiler.simple.filter.name">Quick filter...</entry>\r
+<entry key="1_profiler.settings.threads.monitoring.enabled">false</entry>\r
+<entry key="2_profiler.settigns.ispreset">true</entry>\r
+<entry key="0_profiler.settings.instrumentation.root.methods.size">0</entry>\r
+<entry key="2_profiler.settings.threads.sampling.enabled">true</entry>\r
+<entry key="1_profiler.settings.override.working.dir"/>\r
+<entry key="1_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.type">2</entry>\r
+<entry key="0_profiler.settings.cpu.quick.filterprofiler.simple.filter.value"/>\r
+<entry key="0_profiler.settings.n.profiled.threads.limit">32</entry>\r
+<entry key="0_profiler.settings.cpu.profiling.type">0</entry>\r
+<entry key="0_profiler.settings.instrument.spawned.threads">false</entry>\r
+<entry key="1_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.name">Profile only project classes</entry>\r
+<entry key="2_profiler.settings.instrumentation.marker.methods.size">0</entry>\r
+<entry key="0_profiler.settings.obj.alloc.stack.sampling.depth">0</entry>\r
+<entry key="0_profiler.settings.profilingpoints.enabled">true</entry>\r
+<entry key="2_profiler.settings.cpu.quick.filterprofiler.filter.type">profiler.simple.filter</entry>\r
+<entry key="2_profiler.settings.cpu.quick.filterprofiler.simple.filter.type">1</entry>\r
+<entry key="1_profiler.settings.obj.alloc.stack.sampling.interval">10</entry>\r
+<entry key="1_profiler.settings.override">false</entry>\r
+<entry key="0_profiler.settings.sampling.interval">10</entry>\r
+<entry key="2_profiler.settings.istrument.getter.setter.methods">false</entry>\r
+<entry key="1_profiler.settings.profile.underlying.framework">false</entry>\r
+<entry key="2_profiler.settings.instrument.method.invoke">true</entry>\r
+<entry key="1_profiler.settings.profilingpoints.enabled">true</entry>\r
+<entry key="1_profiler.settings.istrument.getter.setter.methods">false</entry>\r
+<entry key="0_profiler.settings.instrumentation.filter.selectedprofiler.simple.filter.type">0</entry>\r
+<entry key="2_profiler.settings.cpu.quick.filterprofiler.simple.filter.name">Quick filter...</entry>\r
+<entry key="0_profiler.settings.thread.cpu.timer.on">false</entry>\r
+<entry key="0_profiler.settings.override.jvm.args"/>\r
+<entry key="0_profiler.settings.settings.name">Monitor Application</entry>\r
+<entry key="2_profiler.settings.profiling.type">2</entry>\r
+<entry key="0_profiler.settings.code.region.cpu.res.buf.size">1000</entry>\r
+<entry key="2_profiler.settings.run.gc.on.get.results.in.memory.profiling">true</entry>\r
+<entry key="2_profiler.settings.profilingpoints.enabled">true</entry>\r
+</properties>\r
manifest.file=manifest.mf\r
meta.inf.dir=${src.dir}/META-INF\r
mkdist.disabled=false\r
-platform.active=JDK_1.7\r
+platform.active=default_platform\r
run.classpath=\\r
${build.classes.dir}:\\r
${javac.classpath}\r
<configuration>\r
<data xmlns="http://www.netbeans.org/ns/j2se-project/3">\r
<name>fwstk</name>\r
- <explicit-platform explicit-source-supported="true"/>\r
<source-roots>\r
<root id="src.src.dir"/>\r
</source-roots>\r
\r
public class Array {\r
public static Integer[] parseRange(String str) {\r
- TreeMap<Integer, Boolean> res = new TreeMap<Integer, Boolean>();\r
+ TreeMap<Integer, Boolean> res = new TreeMap<>();\r
String[] ranges = str.split("[;,]{1}");\r
int e0;\r
int e1;\r
\r
protected function detectSpreads() {\r
// Détection des spreads\r
+\r
+ $this->autocut = false;\r
+ $this->manualcut = false;\r
+ if ($this->generalInfos['pages'] <= 2) {\r
+ return;\r
+ }\r
+\r
foreach ($this->generalInfos['page'] as $page => $infos) {\r
if ($page == 1) {\r
$first = $infos['size'];\r
if (cubeMath::compare($first[0] * 2, $second[0], 0.9) && self::compareSizes($last, $second)) {\r
$this->autocut = '1-23';\r
}\r
+\r
+ $this->addToLog('Detect Spreads : Manual cut ' . $this->manualcut . ' ; Auto cut : ' . $this->autocut);\r
}\r
\r
public static function compareSizes($x, $y, $tolerance=0.9) {\r
$maxObjects = $conversionSettings->objects;\r
}\r
if (is_null($version)) {\r
- $version = isset($conversionSettings->version)?$conversionSettings->version:'stable';\r
+ $version = isset($conversionSettings->version) ? $conversionSettings->version : 'stable';\r
}\r
\r
if ($maxObjects <= 1) {\r