branch develop updated (ce1413ee -> c46d648b)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from ce1413ee Update licences new 6109d7ba fixes #10109 : Add jai-imageio-core dependendy new bb9f0db9 refs #10098 - should fix Java Heap Space Errors new c46d648b Merge branch 'feature/memoryLeak' into develop The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit c46d648bfabfdc21f2add7aeca4d391ad94c2969 Merge: 6109d7ba bb9f0db9 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 3 17:03:38 2018 +0200 Merge branch 'feature/memoryLeak' into develop commit 6109d7ba2c10d4cfe4d2a816fe4a68cf7a2f4776 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 3 17:02:03 2018 +0200 fixes #10109 : Add jai-imageio-core dependendy commit bb9f0db96a4093805a5a0071960940160e632271 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 3 16:06:27 2018 +0200 refs #10098 - should fix Java Heap Space Errors Summary of changes: faxtomail-service/pom.xml | 6 ++++++ faxtomail-ui-swing/pom.xml | 6 ++++++ .../franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java | 8 ++++++++ .../com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java | 1 - pom.xml | 6 ++++++ 5 files changed, 26 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit bb9f0db96a4093805a5a0071960940160e632271 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 3 16:06:27 2018 +0200 refs #10098 - should fix Java Heap Space Errors --- .../franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java | 8 ++++++++ .../com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java index 66333742..3b0d1c35 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java @@ -22,6 +22,7 @@ package com.franciaflex.faxtomail.ui.swing.actions; * #L% */ +import com.franciaflex.faxtomail.persistence.entities.Attachment; import com.franciaflex.faxtomail.persistence.entities.Client; import com.franciaflex.faxtomail.persistence.entities.Email; import com.franciaflex.faxtomail.persistence.entities.FaxToMailUser; @@ -242,6 +243,13 @@ public class ShowDemandeAction extends AbstractMainUIFaxToMailAction { for (DemandeUIModel demande : currentEmail.getGroupedDemandes()) { getContext().removeDemande(demande); } + + //remove fileEditor for each attachment from context + for (Attachment attachment:currentEmail.getAttachment()){ + if (attachment != null && attachment.getOriginalFile() != null) { + getContext().removeFileEditor(attachment.getOriginalFile().getFile()); + } + } } }); diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java index 248f81ca..1db9693d 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java @@ -1129,7 +1129,6 @@ public final class FaxToMailUIUtil extends ApplicationUIUtil { box.add(imagePanel); } -// box.setAlignmentY(Component.TOP_ALIGNMENT); box.setAlignmentX(Component.LEFT_ALIGNMENT); textPanePanel.add(box); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit 6109d7ba2c10d4cfe4d2a816fe4a68cf7a2f4776 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 3 17:02:03 2018 +0200 fixes #10109 : Add jai-imageio-core dependendy --- faxtomail-service/pom.xml | 6 ++++++ faxtomail-ui-swing/pom.xml | 6 ++++++ pom.xml | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/faxtomail-service/pom.xml b/faxtomail-service/pom.xml index 95cd9be1..d42e8fcd 100644 --- a/faxtomail-service/pom.xml +++ b/faxtomail-service/pom.xml @@ -245,6 +245,12 @@ <scope>runtime</scope> </dependency> + <dependency> + <groupId>com.github.jai-imageio</groupId> + <artifactId>jai-imageio-core</artifactId> + <scope>runtime</scope> + </dependency> + </dependencies> <build> diff --git a/faxtomail-ui-swing/pom.xml b/faxtomail-ui-swing/pom.xml index da597b38..505e12e1 100644 --- a/faxtomail-ui-swing/pom.xml +++ b/faxtomail-ui-swing/pom.xml @@ -279,6 +279,12 @@ <scope>runtime</scope> </dependency> + <dependency> + <groupId>com.github.jai-imageio</groupId> + <artifactId>jai-imageio-core</artifactId> + <scope>runtime</scope> + </dependency> + <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> diff --git a/pom.xml b/pom.xml index 8c84bccc..0a69a618 100644 --- a/pom.xml +++ b/pom.xml @@ -786,6 +786,12 @@ <version>3.4.1</version> </dependency> + <dependency> + <groupId>com.github.jai-imageio</groupId> + <artifactId>jai-imageio-core</artifactId> + <version>1.4.0</version> + </dependency> + <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>jbig2-imageio</artifactId> -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit c46d648bfabfdc21f2add7aeca4d391ad94c2969 Merge: 6109d7ba bb9f0db9 Author: jcouteau <couteau@codelutin.com> Date: Wed Oct 3 17:03:38 2018 +0200 Merge branch 'feature/memoryLeak' into develop .../franciaflex/faxtomail/ui/swing/actions/ShowDemandeAction.java | 8 ++++++++ .../com/franciaflex/faxtomail/ui/swing/util/FaxToMailUIUtil.java | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm