Browse Source

commit main actualizado

master
JoanMoncho 2 years ago
parent
commit
099ec53962
2 changed files with 24 additions and 21 deletions
  1. +24
    -19
      .idea/workspace.xml
  2. +0
    -2
      src/Main.java

+ 24
- 19
.idea/workspace.xml View File

@ -1,16 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="4717f6a0-a6f8-4348-95fd-a166783ad8ed" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Actividad8.1.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/Main.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/Persona.java" afterDir="false" />
<list default="true" id="4717f6a0-a6f8-4348-95fd-a166783ad8ed" name="Changes" comment="commit añadir main">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -38,15 +30,15 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"ASKED_ADD_EXTERNAL_FILES": "true",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"nodejs_package_manager_path": "npm"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;ASKED_ADD_EXTERNAL_FILES&quot;: &quot;true&quot;,
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;
}
}]]></component>
}</component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
@ -55,8 +47,17 @@
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1669406403496</updated>
<workItem from="1669406404738" duration="1182000" />
<workItem from="1669406404738" duration="2054000" />
<workItem from="1669457144298" duration="624000" />
</task>
<task id="LOCAL-00001" summary="commit añadir main">
<created>1669409987515</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1669409987515</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
@ -73,4 +74,8 @@
</map>
</option>
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="commit añadir main" />
<option name="LAST_COMMIT_MESSAGE" value="commit añadir main" />
</component>
</project>

+ 0
- 2
src/Main.java View File

@ -2,7 +2,6 @@ import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws IOException {
@ -10,7 +9,6 @@ public class Main {
File fichero = new File("C:\\Users\\JoanMoncho\\Documents\\Personas.dat");
FileOutputStream fos = new FileOutputStream(fichero);
ObjectOutputStream oos = new ObjectOutputStream(fos);
//ArrayList<Persona> personas = new ArrayList<>();
String[] nombres= {"Joan","Sergi","Hector","Paco"};
String[] apellidos = {"Moncho","Signes","Ferrandiz","Mengual"};


Loading…
Cancel
Save