lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | mit | 43e759748eb626c69140dc45d1a4fd72262b570d | 0 | PaulKlinger/Sprog-App | package com.almoturg.sprog.model;
import com.annimon.stream.Stream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.StringTokenizer;
import java.util.Ti... | app/src/main/java/com/almoturg/sprog/model/PoemStatistics.java | package com.almoturg.sprog.model;
import com.annimon.stream.Stream;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.TimeZone;
public class PoemStatisti... | use StringTokenizer instead of String.split to count words
This makes a huge difference in performance. I also tried split with a compiled regex but that didn't help at all.
| app/src/main/java/com/almoturg/sprog/model/PoemStatistics.java | use StringTokenizer instead of String.split to count words | <ide><path>pp/src/main/java/com/almoturg/sprog/model/PoemStatistics.java
<ide> import java.util.HashMap;
<ide> import java.util.LinkedHashMap;
<ide> import java.util.List;
<add>import java.util.StringTokenizer;
<ide> import java.util.TimeZone;
<ide>
<ide> public class PoemStatistics {
<ide> num = poems.size();... | |
Java | mit | 8fc9eaa50a3bb8cf569ec3cef6e31b8c247ebf06 | 0 | gabelew/SimCity201 | package city.gui;
import restaurant.Restaurant;
import javax.swing.*;
import bank.BankBuilding;
import atHome.city.Apartment;
import atHome.city.Home;
import atHome.city.Residence;
import city.MarketAgent;
import city.PersonAgent;
import city.roles.BankCustomerRole;
import city.roles.Role;
import java.awt.*;
import... | src/city/gui/InfoPanel.java | package city.gui;
import restaurant.Restaurant;
import javax.swing.*;
import bank.BankBuilding;
import atHome.city.Apartment;
import atHome.city.Home;
import atHome.city.Residence;
import city.MarketAgent;
import city.PersonAgent;
import city.roles.BankCustomerRole;
import city.roles.Role;
import java.awt.*;
import... | Added personal bank accounts for most people.
| src/city/gui/InfoPanel.java | Added personal bank accounts for most people. | <ide><path>rc/city/gui/InfoPanel.java
<ide> p = new PersonAgent(name, Double.valueOf(name),gui, residence);
<ide> }else if(name.toLowerCase().contains("rami") || name.toLowerCase().contains("mahdi")
<ide> || name.toLowerCase().contains("ditch") || name.toLowerCase().contains("broke")){
<del> ... | |
Java | apache-2.0 | d951f3c8948890698485e091be0dca4c56a09f39 | 0 | NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra,NationalSecurityAgency/ghidra | /* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/PdbParser.java | /* ###
* IP: GHIDRA
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writin... | GT-3029 Fix PDB validation logic | Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/PdbParser.java | GT-3029 Fix PDB validation logic | <ide><path>hidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb/PdbParser.java
<ide> }
<ide> }
<ide> }
<add> else { // only for .pdb.xml files.
<add> verifyPdbSignature();
<add> }
<ide> parsed = true;
<ide> }
<ide>
<ide> catch (SAXException e) {
<ide> throw new IOException(e.getMessage(... | |
Java | apache-2.0 | 3445e3452e67d40dda99624a5a5ba80e4d26b7bb | 0 | damencho/jitsi,bhatvv/jitsi,jitsi/jitsi,jibaro/jitsi,jitsi/jitsi,HelioGuilherme66/jitsi,Metaswitch/jitsi,gpolitis/jitsi,tuijldert/jitsi,level7systems/jitsi,tuijldert/jitsi,procandi/jitsi,Metaswitch/jitsi,procandi/jitsi,ibauersachs/jitsi,ibauersachs/jitsi,damencho/jitsi,laborautonomo/jitsi,martin7890/jitsi,jibaro/jitsi,... | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main.contactlist;
import java.awt.*;
import java.awt.image.*;
import java.util.*;
import javax.swing.*;
import net... | src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.gui.main.contactlist;
import java.awt.*;
import java.awt.image.*;
import java.util.*;
import javax.swing.*;
import net... | Fix close, open group icons in contact list.
| src/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java | Fix close, open group icons in contact list. | <ide><path>rc/net/java/sip/communicator/impl/gui/main/contactlist/ContactListCellRenderer.java
<ide> buttonsPanelWidth, 16);
<ide> this.nameLabel.setBounds(
<ide> 0, 0, list.getWidth() - 2 - buttonsPanelWidth, 17);
<del>
<del> this.add(buttonsPa... | |
Java | mit | cdb9e6a3112b993d6334fc85fa7778516f226356 | 0 | schmave/demschooltools,schmave/demschooltools,schmave/demschooltools,schmave/demschooltools,schmave/demschooltools | package models;
import java.io.*;
import java.sql.Time;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
import javax.persistence.*;
import com.avaje.ebean.Model;
import com.avaje.ebean.Model.Finder;
import com.fasterxml.jackson.annotation.*;
import controllers.A... | app/models/AttendanceDay.java | package models;
import java.io.*;
import java.sql.Time;
import java.text.SimpleDateFormat;
import java.util.*;
import javax.persistence.*;
import com.avaje.ebean.Model;
import com.avaje.ebean.Model.Finder;
import com.fasterxml.jackson.annotation.*;
import controllers.Application;
import play.libs.Js... | Catch exception when time is unparseable; try multiple formats. Fixes #15
| app/models/AttendanceDay.java | Catch exception when time is unparseable; try multiple formats. Fixes #15 | <ide><path>pp/models/AttendanceDay.java
<ide>
<ide> import java.io.*;
<ide> import java.sql.Time;
<add>import java.text.ParseException;
<ide> import java.text.SimpleDateFormat;
<ide> import java.util.*;
<ide>
<ide> if (time_string == null || time_string.equals("")) {
<ide> return null;
<ide> ... | |
Java | apache-2.0 | a894df51e47d70fa56749a245f12867e35b8c0e1 | 0 | idea4bsd/idea4bsd,jexp/idea2,da1z/intellij-community,dslomov/intellij-community,michaelgallacher/intellij-community,diorcety/intellij-community,fengbaicanhe/intellij-community,orekyuu/intellij-community,da1z/intellij-community,apixandru/intellij-community,Distrotech/intellij-community,FHannes/intellij-community,ThiagoG... | /*
* User: anna
* Date: 14-May-2009
*/
package com.intellij.profile.codeInspection.ui.actions;
import com.intellij.codeInsight.daemon.HighlightDisplayKey;
import com.intellij.codeInspection.InspectionProfileEntry;
import com.intellij.codeInspection.ex.Descriptor;
import com.intellij.codeInspection.ex.InspectionProf... | lang-impl/src/com/intellij/profile/codeInspection/ui/actions/AddScopeAction.java | /*
* User: anna
* Date: 14-May-2009
*/
package com.intellij.profile.codeInspection.ui.actions;
import com.intellij.codeInsight.daemon.HighlightDisplayKey;
import com.intellij.codeInspection.InspectionProfileEntry;
import com.intellij.codeInspection.ex.Descriptor;
import com.intellij.codeInspection.ex.InspectionProf... | add scope with current settings (IDEADEV-36963)
| lang-impl/src/com/intellij/profile/codeInspection/ui/actions/AddScopeAction.java | add scope with current settings (IDEADEV-36963) | <ide><path>ang-impl/src/com/intellij/profile/codeInspection/ui/actions/AddScopeAction.java
<ide> final int idx = Messages.showChooseDialog(myTree, "Scope:", "Choose Scope",
<ide> availableScopes.toArray(new String[availableScopes.size()]), availableScopes.get(0), Messag... | |
Java | apache-2.0 | 6e872dad066c9b5d77e7a96fce3d5b6e65a284be | 0 | fivejjs/crawljax,xujun10110/crawljax,fivejjs/crawljax,bigplus/crawljax,cschroed-usgs/crawljax,aminmf/crawljax,aminmf/crawljax,xujun10110/crawljax,robertzas/crawljax,ntatsumi/crawljax,aminmf/crawljax,ntatsumi/crawljax,bigplus/crawljax,crawljax/crawljax,adini121/crawljax,bigplus/crawljax,cschroed-usgs/crawljax,robertzas/... | package com.crawljax.core;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Singleton;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.crawljax.co... | core/src/main/java/com/crawljax/core/CrawlController.java | package com.crawljax.core;
import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.TimeUnit;
import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Singleton;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.crawljax.co... | Fixed broken reference to proxy plugin
| core/src/main/java/com/crawljax/core/CrawlController.java | Fixed broken reference to proxy plugin | <ide><path>ore/src/main/java/com/crawljax/core/CrawlController.java
<ide> */
<ide> @Override
<ide> public CrawlSession call() {
<del> plugins.runProxyServerPlugins(config.getProxyConfiguration());
<ide> setMaximumCrawlTimeIfNeeded();
<ide> plugins.runPreCrawlingPlugins(config);
<ide> CrawlTaskConsumer firstC... | |
Java | apache-2.0 | 36c9ef96bf09101d202368235e30c749ea214eae | 0 | daleqq/opensymphony-quartz-backup,chandrasekhar4u/opensymphony-quartz-backup,vthriller/opensymphony-quartz-backup,chandrasekhar4u/opensymphony-quartz-backup,eric-hsu/opensymphony-quartz-backup,vthriller/opensymphony-quartz-backup,eric-hsu/opensymphony-quartz-backup,dbahar/opensymphony-quartz-backup,feigeai/opensymphony... | /*
* Copyright 2004-2005 OpenSymphony
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | src/java/org/quartz/impl/StdSchedulerFactory.java | /*
* Copyright 2004-2005 OpenSymphony
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | Issue number: QUARTZ-429
Support setting properties on the InstanceIdGenerator
| src/java/org/quartz/impl/StdSchedulerFactory.java | Issue number: QUARTZ-429 Support setting properties on the InstanceIdGenerator | <ide><path>rc/java/org/quartz/impl/StdSchedulerFactory.java
<ide>
<ide> public static final String PROP_SCHED_INSTANCE_ID = "org.quartz.scheduler.instanceId";
<ide>
<del> public static final String PROP_SCHED_INSTANCE_ID_GENERATOR_CLASS = "org.quartz.scheduler.instanceIdGenerator.class";
<add> public static... | |
Java | apache-2.0 | 8903f448f30a3b1146b92408e5c8258ba2d2c1f7 | 0 | apache/portals-pluto,apache/portals-pluto,apache/portals-pluto | package org.apache.pluto.internal.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.MissingResourceException;
import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class Configurati... | pluto-container/src/main/java/org/apache/pluto/internal/impl/Configuration.java | package org.apache.pluto.internal.impl;
import java.util.ArrayList;
import java.util.List;
import java.util.PropertyResourceBundle;
import java.util.ResourceBundle;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class Configuration {
private static final Log LOG =
... | Added preventUnecessaryCrossContext() from trunk for PLUTO-488 patch.
git-svn-id: a4614e06ec49ab7329f191e44dd6734879b97a19@678334 13f79535-47bb-0310-9956-ffa450edef68
| pluto-container/src/main/java/org/apache/pluto/internal/impl/Configuration.java | Added preventUnecessaryCrossContext() from trunk for PLUTO-488 patch. | <ide><path>luto-container/src/main/java/org/apache/pluto/internal/impl/Configuration.java
<ide>
<ide> import java.util.ArrayList;
<ide> import java.util.List;
<add>import java.util.MissingResourceException;
<ide> import java.util.PropertyResourceBundle;
<ide> import java.util.ResourceBundle;
<ide>
<ide>
<ide> priv... | |
Java | bsd-3-clause | 544ef25e9855396180ff220691bd2082df9fc8ce | 0 | tomgullo/rexster,tomgullo/rexster,tomgullo/rexster,tingletech/rexster-tomcat,tomgullo/rexster,alszeb/rexster,alszeb/rexster,alszeb/rexster,alszeb/rexster,tingletech/rexster-tomcat,tingletech/rexster-tomcat | package com.tinkerpop.rexster.extension;
import com.tinkerpop.rexster.Tokens;
import org.apache.commons.lang.StringUtils;
import org.codehaus.jettison.json.JSONObject;
import javax.ws.rs.core.Response;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/**
* Wraps the Jersey response object ... | src/main/java/com/tinkerpop/rexster/extension/ExtensionResponse.java | package com.tinkerpop.rexster.extension;
import com.tinkerpop.rexster.Tokens;
import org.codehaus.jettison.json.JSONObject;
import javax.ws.rs.core.Response;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
/**
* Wraps the Jersey response object with some simple response builder methods.
... | Added helper method to build an OPTIONS response for extensions.
| src/main/java/com/tinkerpop/rexster/extension/ExtensionResponse.java | Added helper method to build an OPTIONS response for extensions. | <ide><path>rc/main/java/com/tinkerpop/rexster/extension/ExtensionResponse.java
<ide> package com.tinkerpop.rexster.extension;
<ide>
<ide> import com.tinkerpop.rexster.Tokens;
<add>import org.apache.commons.lang.StringUtils;
<ide> import org.codehaus.jettison.json.JSONObject;
<ide>
<ide> import javax.ws.rs.core.Respon... | |
Java | apache-2.0 | 0251f0af9be3010f7762401bf41b640e254141d1 | 0 | googleinterns/gpay-virtual-queue,googleinterns/gpay-virtual-queue,googleinterns/gpay-virtual-queue | /*
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | backendservice/src/test/java/com/google/gpay/virtualqueue/backendservice/repository/InMemoryVirtualQueueRepositoryTest.java | /*
Copyright 2020 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | remove unused import
| backendservice/src/test/java/com/google/gpay/virtualqueue/backendservice/repository/InMemoryVirtualQueueRepositoryTest.java | remove unused import | <ide><path>ackendservice/src/test/java/com/google/gpay/virtualqueue/backendservice/repository/InMemoryVirtualQueueRepositoryTest.java
<ide> import java.util.List;
<ide> import java.util.UUID;
<ide> import java.util.concurrent.atomic.AtomicInteger;
<del>import java.util.stream.Collectors;
<ide>
<ide> import com.google.... | |
Java | agpl-3.0 | c60caff5f2e4516049e71665eb3fd6e6e3753757 | 0 | tdefilip/opennms,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,tdefilip/opennms,roskens/opennms-pre-github,aihua/opennms,aihua/opennms,rdkgit/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,rdkgit/opennms,tdefilip/opennms,tdefilip/opennms,tdefilip/opennms,aihua/opennms,rdkgit/op... | //
// This file is part of the OpenNMS(R) Application.
//
// OpenNMS(R) is Copyright (C) 2002-2003 The OpenNMS Group, Inc. All rights reserved.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// code that was published under the GNU General Public License. Copyrights for m... | src/joesnmp/org/opennms/protocols/snmp/SnmpOctetString.java | //
// This file is part of the OpenNMS(R) Application.
//
// OpenNMS(R) is Copyright (C) 2002-2003 The OpenNMS Group, Inc. All rights reserved.
// OpenNMS(R) is a derivative work, containing both original code, included code and modified
// code that was published under the GNU General Public License. Copyrights for m... | don't modify the SnmpOctetSTring while converting to a DisplayString
| src/joesnmp/org/opennms/protocols/snmp/SnmpOctetString.java | don't modify the SnmpOctetSTring while converting to a DisplayString | <ide><path>rc/joesnmp/org/opennms/protocols/snmp/SnmpOctetString.java
<ide> // decimal range 32 - 126 inclusive) with an
<ide> // ASCII period char (decimal 46).
<ide> //
<add> byte newBytes[] = new byte[bytes.length];
<ide> for (int i = 0; i < bytes.length; i++) {
<ide> ... | |
JavaScript | bsd-2-clause | 9424a36f2e76a414f92cefd42d492b75942cd464 | 0 | jlord/balrog,jlord/balrog,IonicaBizauKitchen/balrog,IonicaBizauKitchen/balrog | var marked = require('marked')
module.exports = function parser(contents) {
var result = extractMetaMatter(contents)
var content = removeHeaders(contents)
result.content = marked(content.toString('utf-8'))
return result
}
function getMetaLines(contents) {
var lines = contents.toString('utf-8').split('\n')
... | lib/parse-markdown.js | var marked = require('marked')
module.exports = function parser(contents) {
var result = extractMetaMatter(contents)
var content = removeHeaders(contents)
result.content = marked(content.toString('utf-8'))
return result
}
function getMetaLines(contents) {
var lines = contents.toString('utf-8').split('\n')
... | Better Header Logic
See when the first line break is to determine how many headers a page
has and therefore know where to cut for the body and metadata
| lib/parse-markdown.js | Better Header Logic | <ide><path>ib/parse-markdown.js
<ide>
<ide> function getMetaLines(contents) {
<ide> var lines = contents.toString('utf-8').split('\n')
<del> return lines.slice(0, 4)
<add> var end = 4
<add>
<add> for (var i = 0; i < 4; i++) {
<add> if (!lines[i]) {
<add> end = i
<add> }
<add> }
<add>
<add> return lin... | |
Java | apache-2.0 | f33ad067449df0c2d641e89e12d5ca571bc80639 | 0 | graben/aries,alien11689/aries,apache/aries,apache/aries,alien11689/aries,graben/aries,rotty3000/aries,rotty3000/aries,apache/aries,graben/aries,graben/aries,alien11689/aries,apache/aries,alien11689/aries,rotty3000/aries,rotty3000/aries | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | minor code and javadoc cleanup, no semantic change
git-svn-id: 212869a37fe990abe2323f86150f3c4d5a6279c2@908306 13f79535-47bb-0310-9956-ffa450edef68
| blueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java | minor code and javadoc cleanup, no semantic change | <ide><path>lueprint/blueprint-core/src/main/java/org/apache/aries/blueprint/container/Parser.java
<ide> import javax.xml.transform.dom.DOMSource;
<ide> import javax.xml.validation.Schema;
<ide> import javax.xml.validation.Validator;
<del>
<ide> import org.apache.aries.blueprint.ComponentDefinitionRegistry;
<ide> import... | |
Java | epl-1.0 | a2f26e01d27685aaf9059438c58d857c80d56cd2 | 0 | rohitmohan96/ceylon-ide-eclipse,rohitmohan96/ceylon-ide-eclipse | /*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/model/loader/JDTModelLoader.java | /*
* Copyright Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the authors tag. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public License vers... | JDTModelLoader: don't forget to set the timer
| plugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/model/loader/JDTModelLoader.java | JDTModelLoader: don't forget to set the timer | <ide><path>lugins/com.redhat.ceylon.eclipse.ui/src/com/redhat/ceylon/eclipse/core/model/loader/JDTModelLoader.java
<ide> }
<ide> };
<ide> this.typeParser = new TypeParser(this, typeFactory);
<add> this.timer = new Timer(false);
<ide> createLookupEnvironment();
<ide> }
<ide... | |
Java | bsd-3-clause | 6813b0260ca4007cbab6e9a131bdd28fbaa74bcb | 0 | piyushsh/choco3,Tiger66639/choco3,piyushsh/choco3,chocoteam/choco3,chocoteam/choco3,chocoteam/choco3,Tiger66639/choco3,Tiger66639/choco3,chocoteam/choco3,cp-profiler/choco3,PhilAndrew/choco3gwt,cp-profiler/choco3,PhilAndrew/choco3gwt,Tiger66639/choco3,piyushsh/choco3,cp-profiler/choco3,cp-profiler/choco3,piyushsh/choco... | /**
* Copyright (c) 1999-2011, Ecole des Mines de Nantes
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* ... | solver/src/main/java/solver/variables/domain/IntervalIntDomain.java | /**
* Copyright (c) 1999-2011, Ecole des Mines de Nantes
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* ... | - remove warning message in IntervalIntDomain
git-svn-id: 0c0af4c802c9e8f057426f0050753a5c49b12902@395 031d3fc5-a07f-0410-aa2d-fafe74bc0a1b
| solver/src/main/java/solver/variables/domain/IntervalIntDomain.java | - remove warning message in IntervalIntDomain | <ide><path>olver/src/main/java/solver/variables/domain/IntervalIntDomain.java
<ide> import choco.kernel.common.util.iterators.DisposableIntIterator;
<ide> import choco.kernel.memory.IEnvironment;
<ide> import choco.kernel.memory.IStateInt;
<del>import org.slf4j.LoggerFactory;
<ide> import solver.variables.domain.delta.... | |
Java | apache-2.0 | 19a96190b0eaf29c9d8a21d8b2ce4d5cfcb3c8c9 | 0 | Squarespace/template-compiler,phensley/template-compiler,Squarespace/template-compiler,phensley/template-compiler,phensley/template-compiler,Squarespace/template-compiler | /**
* Copyright, 2015, Squarespace, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | cli/src/main/java/com/squarespace/template/cli/TemplateC.java | /**
* Copyright, 2015, Squarespace, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | CLI display compilation errors on stderr.
| cli/src/main/java/com/squarespace/template/cli/TemplateC.java | CLI display compilation errors on stderr. | <ide><path>li/src/main/java/com/squarespace/template/cli/TemplateC.java
<ide> import java.io.IOException;
<ide> import java.io.InputStreamReader;
<ide> import java.io.Reader;
<add>import java.util.List;
<ide>
<ide> import org.apache.commons.io.IOUtils;
<ide>
<ide> import com.squarespace.template.CompiledTemplate;
<id... | |
JavaScript | mit | 05c4d396e6b269203365b20e91910ce09bf92d6f | 0 | DawidMyslak/kubernetes-helm-ui,DawidMyslak/kubernetes-helm-ui | import Vue from 'vue'
import Vuex from 'vuex'
import kube from './tools/kube'
import helm from './tools/helm'
Vue.use(Vuex)
const state = {
context: { name: null },
contexts: [],
namespace: { name: null },
namespaces: [],
release: { name: null },
releases: [],
history: [],
config: {
kubePath: '/u... | src/renderer/store.js | import Vue from 'vue'
import Vuex from 'vuex'
import kube from './tools/kube'
import helm from './tools/helm'
Vue.use(Vuex)
const state = {
context: { name: null },
contexts: [],
namespace: { name: null },
namespaces: [],
release: { name: null },
releases: [],
history: [],
config: {
kubePath: '/u... | let to const
| src/renderer/store.js | let to const | <ide><path>rc/renderer/store.js
<ide> .then((contexts) => {
<ide> commit('SET_CONTEXTS', contexts)
<ide>
<del> let context = contexts.find((context) => context.current === '*')
<add> const context = contexts.find((context) => context.current === '*')
<ide> commit('SET_CONTEXT', cont... | |
Java | apache-2.0 | 4b2846308dace7dc8de23793e07c6b4b8c89a525 | 0 | ontopia/ontopia,ontopia/ontopia,ontopia/ontopia,ontopia/ontopia,ontopia/ontopia |
// $Id: RDBMSSingleTopicMapSource.java,v 1.25 2008/12/04 14:58:04 geir.gronmo Exp $
package net.ontopia.topicmaps.impl.rdbms;
import java.io.IOException;
import java.net.MalformedURLException;
import java.sql.*;
import java.util.*;
import net.ontopia.utils.*;
import net.ontopia.topicmaps.entry.*;
import net.ontopia.... | ontopia/src/java/net/ontopia/topicmaps/impl/rdbms/RDBMSSingleTopicMapSource.java |
// $Id: RDBMSSingleTopicMapSource.java,v 1.25 2008/12/04 14:58:04 geir.gronmo Exp $
package net.ontopia.topicmaps.impl.rdbms;
import java.io.IOException;
import java.net.MalformedURLException;
import java.sql.*;
import java.util.*;
import net.ontopia.utils.*;
import net.ontopia.topicmaps.entry.*;
import net.ontopia.... | Added a little piece of logging.
| ontopia/src/java/net/ontopia/topicmaps/impl/rdbms/RDBMSSingleTopicMapSource.java | Added a little piece of logging. | <ide><path>ntopia/src/java/net/ontopia/topicmaps/impl/rdbms/RDBMSSingleTopicMapSource.java
<ide>
<ide> this.reference = ref;
<ide> } else {
<add> log.info("Could not create reference for single RDBMS source " +
<add> id + " because no topic map found");
<ide> this.r... | |
Java | apache-2.0 | 5ac683e6568d4cdf8967d6f5d3d426a01efa3cd7 | 0 | WilliamZapata/alluxio,yuluo-ding/alluxio,bf8086/alluxio,yuluo-ding/alluxio,Reidddddd/alluxio,wwjiang007/alluxio,jswudi/alluxio,EvilMcJerkface/alluxio,Reidddddd/mo-alluxio,Alluxio/alluxio,jswudi/alluxio,ChangerYoung/alluxio,calvinjia/tachyon,EvilMcJerkface/alluxio,riversand963/alluxio,maboelhassan/alluxio,maobaolong/all... | /*
* Licensed to the University of California, Berkeley under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may no... | clients/unshaded/src/main/java/tachyon/client/TachyonFile.java | /*
* Licensed to the University of California, Berkeley under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may no... | Check buffer returned from reading a dummy stream is null.
| clients/unshaded/src/main/java/tachyon/client/TachyonFile.java | Check buffer returned from reading a dummy stream is null. | <ide><path>lients/unshaded/src/main/java/tachyon/client/TachyonFile.java
<ide> // Using the dummy stream to read remote buffer.
<ide> ByteBuffer inBuf = dummyStream.readRemoteByteBuffer(mTachyonFS, blockInfo, 0,
<ide> blockInfo.length, mTachyonConf);
<add> // Close the stream object.
<add> dummySt... | |
Java | lgpl-2.1 | 281101d9d225c92d741c45901f19708674c8b88b | 0 | cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl | package org.cytoscape.graph.render.stateful;
import static org.cytoscape.graph.render.stateful.RenderDetailFlags.*;
/*
* #%L
* Cytoscape Ding View/Presentation Impl (ding-presentation-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you... | ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/graph/render/stateful/GraphRenderer.java | package org.cytoscape.graph.render.stateful;
import static org.cytoscape.graph.render.stateful.RenderDetailFlags.*;
/*
* #%L
* Cytoscape Ding View/Presentation Impl (ding-presentation-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you... | CYTOSCAPE-12762 Fix haystack edges sometimes shifting positions. | ding-impl/ding-presentation-impl/src/main/java/org/cytoscape/graph/render/stateful/GraphRenderer.java | CYTOSCAPE-12762 Fix haystack edges sometimes shifting positions. | <ide><path>ing-impl/ding-presentation-impl/src/main/java/org/cytoscape/graph/render/stateful/GraphRenderer.java
<ide>
<ide> final byte otherNodeShape = nodeDetails.getShape(otherCyNode);
<ide>
<del> // Compute node shapes, center positions, and extents.
<ide> final byte srcShape;
<del>
<del> // ... | |
Java | apache-2.0 | 695237be05181609e94d79dabc9029065b8752d4 | 0 | bazelbuild/bazel,katre/bazel,bazelbuild/bazel,katre/bazel,bazelbuild/bazel,bazelbuild/bazel,bazelbuild/bazel,katre/bazel,katre/bazel,katre/bazel,katre/bazel,bazelbuild/bazel | // Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkActionFactory.java | // Copyright 2017 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Use progress message placeholder to avoid a string allocation.
PiperOrigin-RevId: 485880574
Change-Id: I43ddb91a13185821413a171bb51da95b8154e73f
| src/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkActionFactory.java | Use progress message placeholder to avoid a string allocation. | <ide><path>rc/main/java/com/google/devtools/build/lib/analysis/starlark/StarlarkActionFactory.java
<ide> String progressMessage =
<ide> (progressMessageUnchecked != Starlark.NONE)
<ide> ? (String) progressMessageUnchecked
<del> : "Creating symlink " + outputArtifact.getExecPathString(... | |
Java | apache-2.0 | error: pathspec 'copy-list-with-random-pointer.java' did not match any file(s) known to git
| 29dbaa4f4a613c2368bad903bc7ffcd78221711f | 1 | andrewlxia/practice | /**
* Definition for singly-linked list with a random pointer.
* class RandomListNode {
* int label;
* RandomListNode next, random;
* RandomListNode(int x) { this.label = x; }
* };
*/
public class Solution {
public RandomListNode copyRandomList(RandomListNode head) {
RandomListNode p = he... | copy-list-with-random-pointer.java | Create copy-list-with-random-pointer.java | copy-list-with-random-pointer.java | Create copy-list-with-random-pointer.java | <ide><path>opy-list-with-random-pointer.java
<add>/**
<add> * Definition for singly-linked list with a random pointer.
<add> * class RandomListNode {
<add> * int label;
<add> * RandomListNode next, random;
<add> * RandomListNode(int x) { this.label = x; }
<add> * };
<add> */
<add>public class Solution {
<ad... | |
Java | mit | 6a9b89ee39522c5189c26277f48c9de94570a7f5 | 0 | Vlatombe/git-plugin,Deveo/git-plugin,recena/git-plugin,pauxus/git-plugin,martinda/git-plugin,Deveo/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin,jacob-keller/git-plugin,jacob-keller/git-plugin,Deveo/git-plugin,recena/git-plugin,v1v/git-plugin,kzantow/git-plugin,v1v/git-plugin,mklein0/git-plugin,pauxus/git-plugin... | package hudson.plugins.git.util;
import hudson.model.Result;
import hudson.plugins.git.GitSCM;
import hudson.plugins.git.Revision;
import org.eclipse.jgit.lib.ObjectId;
import org.kohsuke.stapler.export.Exported;
import org.kohsuke.stapler.export.ExportedBean;
import java.io.IOException;
import java.io.Serializable;
... | src/main/java/hudson/plugins/git/util/Build.java | package hudson.plugins.git.util;
import hudson.model.Result;
import hudson.plugins.git.GitSCM;
import hudson.plugins.git.Revision;
import org.eclipse.jgit.lib.ObjectId;
import org.kohsuke.stapler.export.Exported;
import org.kohsuke.stapler.export.ExportedBean;
import java.io.IOException;
import java.io.Serializable;
... | Adding marked to Build.equals.
Also switched to == rather than .equals for comparing Revisions there,
to handle null case.
| src/main/java/hudson/plugins/git/util/Build.java | Adding marked to Build.equals. | <ide><path>rc/main/java/hudson/plugins/git/util/Build.java
<ide> } else {
<ide> Build otherBuild = (Build) o;
<ide> if (otherBuild.hudsonBuildNumber == this.hudsonBuildNumber
<del> && otherBuild.revision.equals(this.revision)) {
<add> && otherBuild.r... | |
Java | apache-2.0 | c8d8f75bc66f705dda2d16bb6a4103ebd51dd944 | 0 | Qi4j/qi4j-sdk,apache/zest-qi4j,Qi4j/qi4j-sdk,Qi4j/qi4j-sdk,apache/zest-qi4j,apache/zest-qi4j,Qi4j/qi4j-sdk,apache/zest-qi4j,apache/zest-qi4j,Qi4j/qi4j-sdk | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | core/bootstrap/src/test/java/org/apache/polygene/bootstrap/DocumentationSupport.java | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | Minor fix to documentation support code
| core/bootstrap/src/test/java/org/apache/polygene/bootstrap/DocumentationSupport.java | Minor fix to documentation support code | <ide><path>ore/bootstrap/src/test/java/org/apache/polygene/bootstrap/DocumentationSupport.java
<ide>
<ide> static class CountryEntity {}
<ide>
<del> static class AddressValue {}
<add> public static class AddressValue {}
<ide>
<ide> public static class LdapAuthenticationAssembler impleme... | |
Java | apache-2.0 | 8c1ca0b7d68f6d0fe1a906023295b3dfefbeae27 | 0 | ebean-orm/ebean-dbmigration | package io.ebean.migration;
import io.ebean.docker.commands.DbConfig;
import io.ebean.docker.commands.MySqlConfig;
import io.ebean.docker.commands.MySqlContainer;
import io.ebean.docker.commands.NuoDBConfig;
import io.ebean.docker.commands.NuoDBContainer;
import io.ebean.docker.commands.OracleConfig;
import io.ebean.d... | src/test/java/io/ebean/migration/MigrationRunner_platform_Test.java | package io.ebean.migration;
import io.ebean.docker.commands.DbConfig;
import io.ebean.docker.commands.MySqlConfig;
import io.ebean.docker.commands.MySqlContainer;
import io.ebean.docker.commands.NuoDBConfig;
import io.ebean.docker.commands.NuoDBContainer;
import io.ebean.docker.commands.OracleConfig;
import io.ebean.d... | Disable NuoDB and SqlServer component tests by default
| src/test/java/io/ebean/migration/MigrationRunner_platform_Test.java | Disable NuoDB and SqlServer component tests by default | <ide><path>rc/test/java/io/ebean/migration/MigrationRunner_platform_Test.java
<ide> postgresContainer.stopRemove();
<ide> }
<ide>
<del> @Test
<add> @Test(enabled = false)
<ide> public void sqlServer_migration() throws SQLException {
<ide>
<ide> sqlServerContainer.startWithDropCreate();
<ide> mysqlCo... | |
Java | bsd-3-clause | e661a551cb153951daabae12b7cebf6232cfd9b7 | 0 | myntra/react-native,hoangpham95/react-native,pandiaraj44/react-native,myntra/react-native,facebook/react-native,myntra/react-native,facebook/react-native,hoangpham95/react-native,facebook/react-native,janicduplessis/react-native,hoangpham95/react-native,hoangpham95/react-native,janicduplessis/react-native,myntra/react-... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.animated;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.JSApplicationIllegalArg... | ReactAndroid/src/main/java/com/facebook/react/animated/PropsAnimatedNode.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.animated;
import androidx.annotation.Nullable;
import com.facebook.react.bridge.JSApplicationIllegalArg... | Potential fix for, and more diagnostics for, NativeAnimatedModule crash
Summary:
Searching for details and maybe a fix for T68843308 crashing in disconnectFromView, "Attempting to disconnect view that has not been connected with the given animated node".
May be related to recent refactoring but it's not clear. Change... | ReactAndroid/src/main/java/com/facebook/react/animated/PropsAnimatedNode.java | Potential fix for, and more diagnostics for, NativeAnimatedModule crash | <ide><path>eactAndroid/src/main/java/com/facebook/react/animated/PropsAnimatedNode.java
<ide> public void connectToView(int viewTag, UIManager uiManager) {
<ide> if (mConnectedViewTag != -1) {
<ide> throw new JSApplicationIllegalArgumentException(
<del> "Animated node " + mTag + " is " + "already a... | |
Java | mit | e5a2100aaaf868e5059252dfacf90f85dd09e437 | 0 | dandudzi/SoundMeterPG | package pl.gda.pg.eti.kask.soundmeterpg;
/**
* Created by Daniel on 21.06.2016.
*/
public class GierlowskiZawszePodkresla {
//TODO zrob to filip
}
| app/src/main/java/pl/gda/pg/eti/kask/soundmeterpg/GierlowskiZawszePodkresla.java | package pl.gda.pg.eti.kask.soundmeterpg;
/**
* Created by Daniel on 21.06.2016.
*/
public class GierlowskiZawszePodkresla {
}
| Testowa zmiana
| app/src/main/java/pl/gda/pg/eti/kask/soundmeterpg/GierlowskiZawszePodkresla.java | Testowa zmiana | <ide><path>pp/src/main/java/pl/gda/pg/eti/kask/soundmeterpg/GierlowskiZawszePodkresla.java
<ide> * Created by Daniel on 21.06.2016.
<ide> */
<ide> public class GierlowskiZawszePodkresla {
<add> //TODO zrob to filip
<ide> } | |
Java | apache-2.0 | c22388e4e527c7b36b56004cbb98f064560fd633 | 0 | ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma | package edu.columbia.gemma.web;
/**
* Constant values used throughout the application.
* <p>Originally from Appfuse, to support code imported from Appfuse.
* <hr>
* <p>
* Copyright (c) 2004-2005 Columbia University
*
* @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
* @author pavlidis
* @vers... | src/web/edu/columbia/gemma/web/Constants.java | package edu.columbia.gemma.web;
/**
* Constant values used throughout the application.
* <p>Originally from Appfuse, to support code imported from Appfuse.
* <hr>
* <p>
* Copyright (c) 2004-2005 Columbia University
*
* @author <a href="mailto:matt@raibledesigns.com">Matt Raible</a>
* @author pavlidis
* @vers... | change name of user role from tomcat to 'user'.
| src/web/edu/columbia/gemma/web/Constants.java | change name of user role from tomcat to 'user'. | <ide><path>rc/web/edu/columbia/gemma/web/Constants.java
<ide> /**
<ide> * The name of the User role, as specified in web.xml
<ide> */
<del> public static final String USER_ROLE = "tomcat";
<add> public static final String USER_ROLE = "user";
<ide>
<ide> /**
<ide> * The name of the user's r... | |
JavaScript | mit | 27ca1d30e7110bdac6b174292ec59781503e7378 | 0 | LivelyKernel/lively.morphic,LivelyKernel/lively.morphic | import { obj, arr, string, properties } from "lively.lang";
import { Rectangle, Color } from "lively.graphics";
import { Morph } from "../index.js";
import { defaultStyle, defaultAttributes } from "../rendering/morphic-default.js";
import { h } from "virtual-dom";
import { Icon, Icons } from "../components/icons.js";
i... | text/label.js | import { obj, arr, string, properties } from "lively.lang";
import { Rectangle, Color } from "lively.graphics";
import { Morph } from "../index.js";
import { defaultStyle, defaultAttributes } from "../rendering/morphic-default.js";
import { h } from "virtual-dom";
import { Icon, Icons } from "../components/icons.js";
i... | label menu items
| text/label.js | label menu items | <ide><path>ext/label.js
<ide>
<ide> return h("span", attrs, text);
<ide> }
<add>
<add> // -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
<add> // events
<add>
<add> async interactivelyChangeLabel() {
<add> let newLabel = await this.world().prompt("edit label", {
<add> input: this.textStri... | |
Java | apache-2.0 | 6077ba19c2d40ce23cf9160e3b42af49ddb67dd2 | 0 | anylineorg/anyline,anylineorg/anyline | /*
* Copyright 2006-2022 www.anyline.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | anyline-core/src/main/java/org/anyline/util/XssUtil.java | /*
* Copyright 2006-2022 www.anyline.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | XssUtil
| anyline-core/src/main/java/org/anyline/util/XssUtil.java | XssUtil | <ide><path>nyline-core/src/main/java/org/anyline/util/XssUtil.java
<ide> /**
<ide> * 过滤字符
<ide> * @param value value
<del> * @return return
<add> * @return String
<ide> */
<ide> public static String strip(String value) {
<ide> if (BasicUtil.isNotEmpty(value)) {
<ide> /**
<ide> * 检测是否存在非法字符 通过(没有非法... | |
JavaScript | mit | 6f1f93d31175039ebf6b54dafdc21ecb45211db6 | 0 | AlexMasterov/webpack-kit,AlexMasterov/webpack-kit | const { resolve } = require('path');
const { isProd, isDev } = require('./webpack/env');
let config = {
devtool: 'cheap-module-eval-source-map',
cache: true,
performance: {
hints: false,
},
context: resolve(__dirname, 'src'),
entry: {
bundle: [
'./index.js',
],
vendor: [
'reac... | webpack.config.js | const { resolve } = require('path');
const { isProd, isDev } = require('./webpack/env');
let config = {
devtool: 'cheap-module-eval-source-map',
cache: true,
performance: {
hints: false,
},
context: resolve(__dirname, 'src'),
entry: {
bundle: [
'./index.js',
],
vendor: [
'reac... | Add devtoolModuleFilenameTemplate option
Point sourcemap entries to original disk location (format as URL on Windows).
| webpack.config.js | Add devtoolModuleFilenameTemplate option | <ide><path>ebpack.config.js
<ide> path: resolve(__dirname, 'dist'),
<ide> filename: 'js/[name]-[chunkhash:8].js',
<ide> chunkFilename: 'js/[name]-[chunkhash:8].chunk.js',
<add> devtoolModuleFilenameTemplate: ({ absoluteResourcePath }) =>
<add> resolve(absoluteResourcePath).replace(/\\/g, '/'),
<ide>... | |
Java | apache-2.0 | 814cf5efaff86720c3895d91ed557b03c9ca0ebb | 0 | OpenHFT/Chronicle-Queue,OpenHFT/Chronicle-Queue | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueExcerpts.java | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | https://github.com/OpenHFT/Chronicle-Queue/issues/484 code cleanups
| src/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueExcerpts.java | https://github.com/OpenHFT/Chronicle-Queue/issues/484 code cleanups | <ide><path>rc/main/java/net/openhft/chronicle/queue/impl/single/SingleChronicleQueueExcerpts.java
<ide> }
<ide>
<ide> /**
<del> * this is not currently thread safe so should be run on the same thread as the appender
<add> * this method NOT thread safe
<ide> */
<ide> @Ov... | |
Java | apache-2.0 | d2a92064378d1fbe220c5d56607d89af4386948f | 0 | cushon/bazel,bazelbuild/bazel,ButterflyNetwork/bazel,ButterflyNetwork/bazel,perezd/bazel,dslomov/bazel,meteorcloudy/bazel,katre/bazel,katre/bazel,meteorcloudy/bazel,meteorcloudy/bazel,twitter-forks/bazel,twitter-forks/bazel,perezd/bazel,twitter-forks/bazel,cushon/bazel,werkt/bazel,meteorcloudy/bazel,ButterflyNetwork/ba... | // Copyright 2018 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | src/tools/android/java/com/google/devtools/build/android/desugar/runtime/HiddenConversions.java | // Copyright 2018 The Bazel Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appl... | Add conversion for hidden UsageStatsManager.registerAppUsageLimitObserver
PiperOrigin-RevId: 241612554
| src/tools/android/java/com/google/devtools/build/android/desugar/runtime/HiddenConversions.java | Add conversion for hidden UsageStatsManager.registerAppUsageLimitObserver | <ide><path>rc/tools/android/java/com/google/devtools/build/android/desugar/runtime/HiddenConversions.java
<ide> return null;
<ide> }
<ide> return j$.time.LocalDate.of(date.getYear(), date.getMonthValue(), date.getDayOfMonth());
<add> }
<add>
<add> public static void registerAppUsageLimitObserver(
<add> ... | |
Java | bsd-3-clause | e69edc89f680d68b32ff7a57754d7ac85bd703d9 | 0 | raptor-chess/raptor-chess-interface,evilwan/raptor-chess-interface,evilwan/raptor-chess-interface,evilwan/raptor-chess-interface,NightSwimming/Raptor-Chess,NightSwimming/Raptor-Chess,raptor-chess/raptor-chess-interface,raptor-chess-interface/raptor-chess-interface,raptor-chess-interface/raptor-chess-interface,raptor-ch... | package raptor.swt.chess.layout;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.ControlListener;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Point;
impor... | raptor/src/raptor/swt/chess/layout/TopBottomOrientedLayout.java | package raptor.swt.chess.layout;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ControlEvent;
import org.eclipse.swt.events.ControlListener;
import org.eclipse.swt.graphics.Font;
import org.eclipse.swt.graphics.Point;
impor... | TopBottom layout changes
| raptor/src/raptor/swt/chess/layout/TopBottomOrientedLayout.java | TopBottom layout changes | <ide><path>aptor/src/raptor/swt/chess/layout/TopBottomOrientedLayout.java
<ide> int topBottomLabelHeight = Math.max(SWTUtils.getHeightInPixels(board
<ide> .getWhiteNameRatingLabel().getFont().getFontData()[0]
<ide> .getHeight()), SWTUtils.getHeightInPixels(board.getWhiteClockLabel()
<del> .getFont().getFon... | |
Java | apache-2.0 | 12c26d63d52824966c73555818d1ba7718319ef4 | 0 | hekate-io/hekate | /*
* Copyright 2019 The Hekate Project
*
* The Hekate Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | hekate-core/src/test/java/io/hekate/HekateNodeMultiCodecTestBase.java | /*
* Copyright 2019 The Hekate Project
*
* The Hekate Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | Fix typo in test method name [ci skip]
| hekate-core/src/test/java/io/hekate/HekateNodeMultiCodecTestBase.java | Fix typo in test method name [ci skip] | <ide><path>ekate-core/src/test/java/io/hekate/HekateNodeMultiCodecTestBase.java
<ide> }
<ide>
<ide> @Parameters(name = "{index}: {0}")
<del> public static Collection<MultiCodecTestContext> getLockAsyncTestContexts() {
<add> public static Collection<MultiCodecTestContext> getCodecTestContexts() {
<ide> ... | |
Java | mit | 4eb9a60426a51d260780a5549984d69f0a12bfea | 0 | algolia/algoliasearch-client-java,algoliareadmebot/algoliasearch-client-java,algolia/algoliasearch-client-java,algoliareadmebot/algoliasearch-client-java | package com.algolia.search.saas;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.nio.charset.Charset;
im... | src/main/java/com/algolia/search/saas/APIClient.java | package com.algolia.search.saas;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.UnsupportedEncodingException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URLEncoder;
import java.nio.charset.Charset;
im... | Migrate user agent to new format (#82)
| src/main/java/com/algolia/search/saas/APIClient.java | Migrate user agent to new format (#82) | <ide><path>rc/main/java/com/algolia/search/saas/APIClient.java
<ide> import org.apache.http.client.methods.HttpRequestBase;
<ide> import org.apache.http.entity.StringEntity;
<ide> import org.apache.http.impl.client.HttpClientBuilder;
<add>import org.apache.http.impl.client.SystemDefaultCredentialsProvider;
<ide> import... | |
Java | lgpl-2.1 | 0f9ddfbaeb20e0cc8bfa5e6008484d6bcc66ed16 | 0 | CreativeMD/LittleTiles | package com.creativemd.littletiles;
import com.creativemd.creativecore.common.entity.EntitySit;
import com.creativemd.creativecore.common.packet.CreativeCorePacket;
import com.creativemd.creativecore.gui.container.SubContainer;
import com.creativemd.creativecore.gui.container.SubGui;
import com.creativemd.creativecore... | src/main/java/com/creativemd/littletiles/LittleTiles.java | package com.creativemd.littletiles;
import com.creativemd.creativecore.common.entity.EntitySit;
import com.creativemd.creativecore.common.packet.CreativeCorePacket;
import com.creativemd.creativecore.gui.container.SubContainer;
import com.creativemd.creativecore.gui.container.SubGui;
import com.creativemd.creativecore... | Fixed startup crash caused by setting registry names for item
| src/main/java/com/creativemd/littletiles/LittleTiles.java | Fixed startup crash caused by setting registry names for item | <ide><path>rc/main/java/com/creativemd/littletiles/LittleTiles.java
<ide> public static Block storageBlock = new BlockStorageTile().setRegistryName("LTStorageBlockTile").setUnlocalizedName("LTStorageBlockTile");
<ide> public static Block particleBlock = new BlockLTParticle().setRegistryName("LTParticleBlock").setUnlo... | |
JavaScript | mit | ea2682f69a65e22d3ca0fa644664ffd9e58d9a45 | 0 | arenoir/data,rtablada/data,davidpett/data,arenoir/data,HeroicEric/data,davidpett/data,davidpett/data,swarmbox/data,swarmbox/data,HeroicEric/data,rtablada/data,swarmbox/data,davidpett/data,HeroicEric/data,workmanw/data,rtablada/data,HeroicEric/data,workmanw/data,workmanw/data,arenoir/data,workmanw/data,arenoir/data,rtab... | import Ember from 'ember';
import { assert, deprecate, warn, runInDebug } from 'ember-data/-debug';
import { PromiseObject } from "../promise-proxies";
import Errors from "../model/errors";
import isEnabled from '../../features';
import RootState from '../model/states';
import {
relationshipsByNameDescriptor,
relat... | addon/-private/system/model/model.js | import Ember from 'ember';
import { assert, deprecate, warn, runInDebug } from 'ember-data/-debug';
import { PromiseObject } from "../promise-proxies";
import Errors from "../model/errors";
import isEnabled from '../../features';
import RootState from '../model/states';
import {
relationshipsByNameDescriptor,
relat... | tidy up spacing | addon/-private/system/model/model.js | tidy up spacing | <ide><path>ddon/-private/system/model/model.js
<ide>
<ide> runInDebug(() => {
<ide> Model.reopen({
<del> /**
<del> This Ember.js hook allows an object to be notified when a property
<del> is defined.
<del>
<del> In this case, we use it to be notified when an Ember Data user defines a
<del> belongs-to relat... | |
JavaScript | agpl-3.0 | fda80e0c2c953148292b35839ff368ff92c56baf | 0 | jmoenig/Snap--Build-Your-Own-Blocks,jmoenig/Snap--Build-Your-Own-Blocks | /*
gui.js
a programming environment
based on morphic.js, blocks.js, threads.js and objects.js
inspired by Scratch
written by Jens Mönig
jens@moenig.org
Copyright (C) 2020 by Jens Mönig
This file is part of Snap!.
Snap! is free software: you can redistribute it and/or modify
... | src/gui.js | /*
gui.js
a programming environment
based on morphic.js, blocks.js, threads.js and objects.js
inspired by Scratch
written by Jens Mönig
jens@moenig.org
Copyright (C) 2020 by Jens Mönig
This file is part of Snap!.
Snap! is free software: you can redistribute it and/or modify
... | refactored more cloud ops in the IDE
| src/gui.js | refactored more cloud ops in the IDE | <ide><path>rc/gui.js
<ide> };
<ide>
<ide> IDE_Morph.prototype.cloudAcknowledge = function () {
<del> var myself = this;
<del> return function (responseText, url) {
<add> return (responseText, url) => {
<ide> nop(responseText);
<ide> new DialogBoxMorph().inform(
<ide> 'Cloud Connect... | |
JavaScript | apache-2.0 | fffed1d8dd6148897da83adb783ac3f9582c37e8 | 0 | nimishzynga/ns_server,nimishzynga/ns_server,mschoch/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,nimishzynga/ns_server,t3rm1n4l/ns_server,membase/ns_server,ceejatec/ns_server,mschoch/ns_server,t3rm1n4l/ns_server,ceejatec/ns_server,nimishzynga/ns_server,ceejatec/ns_server,membase/ns_... | /**
Copyright 2011 Couchbase, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | priv/public/js/logs.js | /**
Copyright 2011 Couchbase, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... | MB-11697: improved collect infos error handler
[alk@tut.by: fixed typo]
[alk@tut.by: added ticket reference]
Change-Id: Ic69a51ecaa5f15ccee049bb511e49425acdb23fe
Reviewed-on: http://review.couchbase.org/40170
Reviewed-by: Aliaksey Kandratsenka <340b8e09ca65cd3fc686427fcfed17e87eaf61e2@gmail.com>
Tested-by: Aliaksey K... | priv/public/js/logs.js | MB-11697: improved collect infos error handler | <ide><path>riv/public/js/logs.js
<ide>
<ide> var allActiveNodeBoxes;
<ide> var allNodeBoxes;
<del> var overlay;
<add> var overlayCollectInfoStartNewView;
<ide> var self = this;
<ide>
<ide> collectResultSectionSpinner.show();
<ide> collectForm.submit(function (e) {
<ide> e.preventDefaul... | |
JavaScript | mit | 1d80c9538baa470d2d07061c94f1414a0511c032 | 0 | uber/riakpbc,nlf/riakpbc | var net = require('net'),
Stream = require('stream'),
protobuf = require('protobuf.js'),
butils = require('butils'),
through = require('through'),
path = require('path'),
_merge = require('./lib/merge');
var messageCodes = {
'0': 'RpbErrorResp',
'1': 'RpbPingReq',
'2': 'RpbPingResp'... | index.js | var net = require('net'),
Stream = require('stream'),
protobuf = require('protobuf.js'),
butils = require('butils'),
through = require('through'),
path = require('path'),
_merge = require('./lib/merge');
var messageCodes = {
'0': 'RpbErrorResp',
'1': 'RpbPingReq',
'2': 'RpbPingResp'... | Refactor: fix code smells.
Reduce complexity as suggessted by code climate.
| index.js | Refactor: fix code smells. | <ide><path>ndex.js
<ide> if (self.numBytesAwaiting > 0) {
<ide> return;
<ide> }
<del>
<del> for (var i = 0, l = self.resBuffers.length; i < l; i++) {
<del> packet = self.resBuffers[i];
<add> processAllResBuffers(self.resBuffers);
<add>
<add> function processAllResBuffers(resBuffers) {
<a... | |
JavaScript | bsd-3-clause | 86f7683a27cd860ef08c6084dd7100a77d77d903 | 0 | tijptjik/mycroft,tijptjik/mycroft,tijptjik/mycroft | /**
* Bootstrap validate
* English lang module
*/
$.bt_validate.fn = {
'require' : function(value) { return (value != null) && (value != '')},
'required' : function(value) { return (value != null) && (value != '')},
'email' : function(value) { return /^[a-z0-9-_\.]+@[a-z0-9-_\.]+\.[a-z]{2,4}$/.test(value.t... | mycroft/base/static/js/libs/bootstrap/bootstrap-validate.en.js | /**
* Bootstrap validate
* English lang module
*/
$.bt_validate.fn = {
'require' : function(value) { return (value != null) && (value != '')},
'required' : function(value) { return (value != null) && (value != '')},
'email' : function(value) { return /^[a-z0-9-_\.]+@[a-z0-9-_\.]+\.[a-z]{2,4}$/.test(value) ... | Accept Uppercase e-mails
| mycroft/base/static/js/libs/bootstrap/bootstrap-validate.en.js | Accept Uppercase e-mails | <ide><path>ycroft/base/static/js/libs/bootstrap/bootstrap-validate.en.js
<ide> $.bt_validate.fn = {
<ide> 'require' : function(value) { return (value != null) && (value != '')},
<ide> 'required' : function(value) { return (value != null) && (value != '')},
<del> 'email' : function(value) { return /^[a-z0-9-_\.]+... | |
Java | apache-2.0 | 3beb89ce8564ced899fea48062e9009662791f31 | 0 | knighthunter09/cw-omnibus,ajju4455/cw-omnibus,hamidsn/cw-omnibus,ryandh/cw-omnibus,a-ankitpatel/cw-omnibus,immuvijay/cw-omnibus,iconodo/cw-omnibus,HaiderAliG/cw-omnibus,jorgereina1986/cw-omnibus,JGeovani/cw-omnibus,oussemaAr/cw-omnibus,IUHHUI/cw-omnibus,ajju4455/cw-omnibus,LG67/cw-omnibus,jvvlives2005/cw-omnibus,atisha... | /***
Copyright (c) 2012 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
by applicable law or agreed to in writin... | ActionBar/TabFragmentDemo/src/com/commonsware/android/tabfrag/TabFragmentDemoActivity.java | /***
Copyright (c) 2012 CommonsWare, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless required
by applicable law or agreed to in writin... | formatting
| ActionBar/TabFragmentDemo/src/com/commonsware/android/tabfrag/TabFragmentDemoActivity.java | formatting | <ide><path>ctionBar/TabFragmentDemo/src/com/commonsware/android/tabfrag/TabFragmentDemoActivity.java
<ide> import com.actionbarsherlock.app.ActionBar.TabListener;
<ide> import com.actionbarsherlock.app.SherlockFragmentActivity;
<ide>
<del>public class TabFragmentDemoActivity extends
<del> SherlockFragmentActivity i... | |
Java | apache-2.0 | 29c4c035ae07347a78fa7901dcada8727dcdddd2 | 0 | hungdoan2/phonegap-googlemaps-plugin,hitoci/phonegap-googlemaps-plugin,rynomster/cordova-plugin-googlemaps,LouisMazel/cordova-plugin-googlemaps,fabriziogiordano/phonegap-googlemaps-plugin,CPlus/phonegap-googlemaps-plugin,hungdoan2/phonegap-googlemaps-plugin,arilsonkarmo/phonegap-googlemaps-plugin,elwahid/plugin.google.... | package plugin.google.maps;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONOb... | platforms/android/src/plugin/google/maps/AsyncKmlParser.java | package plugin.google.maps;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.ArrayList;
import java.util.Iterator;
import org.apache.cordova.CallbackContext;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONOb... | (Android) kmlOverlay allows http url
| platforms/android/src/plugin/google/maps/AsyncKmlParser.java | (Android) kmlOverlay allows http url | <ide><path>latforms/android/src/plugin/google/maps/AsyncKmlParser.java
<ide> URL url = new URL(urlStr);
<ide> HttpURLConnection http = (HttpURLConnection)url.openConnection();
<ide> http.setRequestMethod("GET");
<del> http.connect();
<add> http.addRequestProperty("Accept-Language"... | |
Java | agpl-3.0 | 09632afb78c6796c5d4d05400c7d82eda3e611c0 | 0 | Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge | /* Copyright (C) 2015-2019 Andreas Böhler, Andreas Shimokawa, Avamander,
Carsten Pfeiffer, Daniel Dakhno, Daniele Gobbetti, Daniel Hauck, Dikay900,
Frank Slezak, ivanovlev, João Paulo Barraca, José Rebelo, Julien Pivotto,
Kasha, keeshii, Martin, Matthieu Baerts, Nephiel, Sebastian Kranz, Sergey
Trofim... | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java | /* Copyright (C) 2015-2019 Andreas Böhler, Andreas Shimokawa, Avamander,
Carsten Pfeiffer, Daniel Dakhno, Daniele Gobbetti, Daniel Hauck, Dikay900,
Frank Slezak, ivanovlev, João Paulo Barraca, José Rebelo, Julien Pivotto,
Kasha, keeshii, Martin, Matthieu Baerts, Nephiel, Sebastian Kranz, Sergey
Trofim... | Huami: Fix stuck in connecting for most cases
This happened when sending a notification while doing authentication.
The reason the notification came though is the "auto connect" code that is
supposed to connect when a message arrives, so that it does not get lost.
This code and DeviceSupport::useAutoConnect() is prob... | app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java | Huami: Fix stuck in connecting for most cases | <ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/DeviceCommunicationService.java
<ide> return START_NOT_STICKY;
<ide> }
<ide>
<del> if (mDeviceSupport == null || (!isInitialized() && !mDeviceSupport.useAutoConnect())) {
<add> if (mDeviceSupport ... | |
Java | apache-2.0 | 787acc0454cb9e45ee4242ce3cc80631c6cfac60 | 0 | lexs/webimageloader | package se.alexanderblom.imageloader;
import android.content.ContentResolver;
import android.content.Context;
public class URLUtil {
public static String resourceUrl(Context c, int resId) {
return createUrl(ContentResolver.SCHEME_ANDROID_RESOURCE, c.getPackageName(), String.valueOf(resId));
}
pub... | imageloader/src/se/alexanderblom/imageloader/URLUtil.java | package se.alexanderblom.imageloader;
import android.content.ContentResolver;
import android.content.Context;
public class URLUtil {
public static String resourceUrl(Context c, int resId) {
return createUrl(ContentResolver.SCHEME_ANDROID_RESOURCE, c.getPackageName(), String.valueOf(resId));
}
pub... | Remove unnecessary utility method
Clients can use Uri.fromFile() instead
| imageloader/src/se/alexanderblom/imageloader/URLUtil.java | Remove unnecessary utility method | <ide><path>mageloader/src/se/alexanderblom/imageloader/URLUtil.java
<ide> return createUrl(ContentResolver.SCHEME_FILE, "/android_asset", path);
<ide> }
<ide>
<del> public static String fileUrl(String path) {
<del> return createUrl(ContentResolver.SCHEME_FILE, null, path);
<del> }
<del>
<ide> ... | |
JavaScript | apache-2.0 | dabacce085278034f9db420f2224125613337c62 | 0 | McLeodMoores/starling,jerome79/OG-Platform,jerome79/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,nssales/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,ChinaQuants/OG-Platform,codeaudit/OG-Platform,jeorme/OG-Platform,McLeodMoo... | /*
* Copyright 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
* Please see distribution for license.
*/
$.register_module({
name: 'og.analytics.DropMenu',
dependencies: ['og.common.util.ui.DropMenu'],
obj: function () {
var events = {
queryselected: 'dropmen... | projects/OG-Web/web-engine/prototype/scripts/og/analytics/og.analytics.dropmenu.js | /*
* Copyright 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
* Please see distribution for license.
*/
$.register_module({
name: 'og.analytics.DropMenu',
dependencies: ['og.common.util.ui.DropMenu'],
obj: function () {
var events = {
queryselected: 'dropmen... | focus select fix in DropMenu
| projects/OG-Web/web-engine/prototype/scripts/og/analytics/og.analytics.dropmenu.js | focus select fix in DropMenu | <ide><path>rojects/OG-Web/web-engine/prototype/scripts/og/analytics/og.analytics.dropmenu.js
<ide> };
<ide> DropMenu.prototype = og.common.util.ui.DropMenu.prototype;
<ide> DropMenu.prototype.toggle_menu = function (event){
<del> this.opts[this.opts.length-1].find('select').first(... | |
Java | apache-2.0 | 22379210a023720ceb127211adce911e4557f43b | 0 | rozza/mongo-java-driver,jyemin/mongo-java-driver,jsonking/mongo-java-driver,kay-kim/mongo-java-driver,gianpaj/mongo-java-driver,PSCGroup/mongo-java-driver,jsonking/mongo-java-driver,jyemin/mongo-java-driver,rozza/mongo-java-driver | /*
* Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | driver-compat/src/main/com/mongodb/Mongo.java | /*
* Copyright (c) 2008 - 2013 10gen, Inc. <http://10gen.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... | chore(driver-compat) add back c.m.Mongo.{getMaxBsonObjectSize, getConnectPoint}
| driver-compat/src/main/com/mongodb/Mongo.java | chore(driver-compat) add back c.m.Mongo.{getMaxBsonObjectSize, getConnectPoint} | <ide><path>river-compat/src/main/com/mongodb/Mongo.java
<ide> '}';
<ide> }
<ide>
<add> /**
<add> * Gets the maximum size for a BSON object supported by the current master server.
<add> * Note that this value may change over time depending on which server is master.
<add> *
<add> ... | |
Java | mit | ebc054fdaa5363d3a7e8167400763aead331b33c | 0 | TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service | package ee.tuleva.onboarding.account;
import ee.eesti.xtee6.kpr.PensionAccountBalanceResponseType;
import ee.eesti.xtee6.kpr.PensionAccountBalanceType;
import ee.eesti.xtee6.kpr.PersonalSelectionResponseType;
import ee.tuleva.onboarding.auth.principal.Person;
import ee.tuleva.onboarding.fund.Fund;
import ee.tuleva.onb... | src/main/java/ee/tuleva/onboarding/account/AccountStatementService.java | package ee.tuleva.onboarding.account;
import ee.eesti.xtee6.kpr.PensionAccountBalanceResponseType;
import ee.eesti.xtee6.kpr.PensionAccountBalanceType;
import ee.eesti.xtee6.kpr.PersonalSelectionResponseType;
import ee.tuleva.onboarding.auth.principal.Person;
import ee.tuleva.onboarding.fund.Fund;
import ee.tuleva.onb... | Hotfixing master
| src/main/java/ee/tuleva/onboarding/account/AccountStatementService.java | Hotfixing master | <ide><path>rc/main/java/ee/tuleva/onboarding/account/AccountStatementService.java
<ide> import ee.tuleva.onboarding.mandate.statistics.FundValueStatisticsRepository;
<ide> import lombok.RequiredArgsConstructor;
<ide> import lombok.extern.slf4j.Slf4j;
<del>import org.springframework.cache.annotation.Cacheable;
<ide> imp... | |
Java | apache-2.0 | 864e1f05efcabe573b45f8f27fd3c9fe8fca4d78 | 0 | rsby/gunmetal,gunmetal/gunmetal | /*
* Copyright (c) 2013.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,... | core/src/main/java/io/gunmetal/internal/HandlerFactoryImpl.java | /*
* Copyright (c) 2013.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,... | tweaking the auto-provided type handling to bring fully into line with library handling
| core/src/main/java/io/gunmetal/internal/HandlerFactoryImpl.java | tweaking the auto-provided type handling to bring fully into line with library handling | <ide><path>ore/src/main/java/io/gunmetal/internal/HandlerFactoryImpl.java
<ide> return null;
<ide> }
<ide> final Class<? super T> cls = typeKey.raw();
<del> final ModuleMetadata moduleMetadata = dependencyRequest.sourceModule(); // essentially, same as library, okay?
<add> fina... | |
Java | mpl-2.0 | d0b55f5f70e1badab0f4262a029851e1fab313c8 | 0 | codebu5ter/focus-android,Benestar/focus-android,Achintya999/focus-android,jonalmeida/focus-android,liuche/focus-android,mastizada/focus-android,mozilla-mobile/focus-android,layely/focus-android,liuche/focus-android,liuche/focus-android,Achintya999/focus-android,codebu5ter/focus-android,jonalmeida/focus-android,mastizad... | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.activity;... | app/src/main/java/org/mozilla/focus/activity/MainActivity.java | /* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.activity;... | MainActivity: Call FLAG_SECURE early. (#325)
I can't reproduce #325 locally but we want to set the SECURE flag as early as
possible and not do a bunch of UI stuff first. Let's see if this might fix this.
| app/src/main/java/org/mozilla/focus/activity/MainActivity.java | MainActivity: Call FLAG_SECURE early. (#325) | <ide><path>pp/src/main/java/org/mozilla/focus/activity/MainActivity.java
<ide> protected void onCreate(Bundle savedInstanceState) {
<ide> super.onCreate(savedInstanceState);
<ide>
<add> final Settings appSettings = new Settings(this);
<add>
<add> if (appSettings.shouldUseSecureMode()) {
<add>... | |
Java | apache-2.0 | b856a44cefa24335333d79e1fb6c2b9e5fb72fd3 | 0 | adleritech/flexibee | package com.adleritech.flexibee.core.api.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.L... | flexibee-core/src/main/java/com/adleritech/flexibee/core/api/domain/IssuedInvoice.java | package com.adleritech.flexibee.core.api.domain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.simpleframework.xml.Element;
import org.simpleframework.xml.ElementList;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.L... | Change issued invoice id to be inline list
| flexibee-core/src/main/java/com/adleritech/flexibee/core/api/domain/IssuedInvoice.java | Change issued invoice id to be inline list | <ide><path>lexibee-core/src/main/java/com/adleritech/flexibee/core/api/domain/IssuedInvoice.java
<ide> @NoArgsConstructor
<ide> @AllArgsConstructor
<ide> public class IssuedInvoice {
<del> @Element(name = "id", required = false)
<del> private String id;
<add> @ElementList(name = "id", required = false, inline ... | |
JavaScript | mit | 0e44ddce750c955c258a53be6a9604d37c38ead6 | 0 | rlugojr/melonJS,Smoss/Enoru-eco,MarkoIvanetic/melonJS,melonjs/melonJS,melonjs/melonJS,srbala/melonJS,gopalindians/melonJS,rlugojr/melonJS,TukekeSoft/melonJS,gopalindians/melonJS,TukekeSoft/melonJS,TukekeSoft/melonJS,gopalindians/melonJS,srbala/melonJS,Smoss/Enoru-eco,rlugojr/melonJS,srbala/melonJS,MarkoIvanetic/melonJS | /*
* MelonJS Game Engine
* Copyright (C) 2012, Olivier BIOT
* http://www.melonjs.org
*
*/
(function($) {
/**
* a Timer object to manage time function (FPS, Game Tick, Time...)<p>
* There is no constructor function for me.timer
* @final
* @memberOf me
* @constructor Should not be called by the user.
... | src/video/video.js | /*
* MelonJS Game Engine
* Copyright (C) 2012, Olivier BIOT
* http://www.melonjs.org
*
*/
(function($) {
/**
* a Timer object to manage time function (FPS, Game Tick, Time...)<p>
* There is no constructor function for me.timer
* @final
* @memberOf me
* @constructor Should not be called by the user.
... | Fixed internal cached canvas position not being updated in case of deferred resize
| src/video/video.js | Fixed internal cached canvas position not being updated in case of deferred resize | <ide><path>rc/video/video.js
<ide> max_height / me.video.getHeight()
<ide> );
<ide> }
<del> }
<del>
<add> return;
<add> }
<ide> // make sure we have the correct relative canvas position cached
<ide> me.input.mouse.offset = me.video.getPos();
<ide> };
<ide> canvas.width = game_width_z... | |
Java | apache-2.0 | c5ca661692c9b8397e7f02439e13d121113f4d0e | 0 | kalaspuffar/pdfbox,apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | PDFBOX-4892: set individual initial ArrayList size, as suggested by valerybokov
git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1887273 13f79535-47bb-0310-9956-ffa450edef68
| pdfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java | PDFBOX-4892: set individual initial ArrayList size, as suggested by valerybokov | <ide><path>dfbox/src/main/java/org/apache/pdfbox/multipdf/PDFMergerUtility.java
<ide> // - all FileInputStreams are closed
<ide> // - there's a way to see which errors occurred
<ide>
<del> List<PDDocument> tobeclosed = new ArrayList<>();
<add> List<PDDocument> tobeclosed =... | |
Java | apache-2.0 | bcd358b7569c1ee7fafb4c91f473c08a0d218eda | 0 | argv0/cloudstack,DaanHoogland/cloudstack,argv0/cloudstack,wido/cloudstack,DaanHoogland/cloudstack,jcshen007/cloudstack,argv0/cloudstack,cinderella/incubator-cloudstack,resmo/cloudstack,cinderella/incubator-cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,GabrielBrascher/cloudstack,Gab... | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, e... | server/src/com/cloud/configuration/Config.java | /**
* Copyright (C) 2010 Cloud.com, Inc. All rights reserved.
*
* This software is licensed under the GNU General Public License v3 or later.
*
* It is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, e... | bug 8866: Use 86400 instead of 84600 for seconds in a day
| server/src/com/cloud/configuration/Config.java | bug 8866: Use 86400 instead of 84600 for seconds in a day | <ide><path>erver/src/com/cloud/configuration/Config.java
<ide> UsageStatsJobAggregationRange("Premium", ManagementServer.class, Integer.class, "usage.stats.job.aggregation.range", "1440", "The range of time for aggregating the user statistics specified in minutes (e.g. 1440 for daily, 60 for hourly.", null),
<ide> Us... | |
JavaScript | mit | afefaa840a4881a2d91c528620c5be55645acfb5 | 0 | knowledge-map/knowledge-map.github.io,knowledge-map/cartographer | "use strict";
var knowledge = {
concepts: [
{
id: "edit",
name: "Click here to edit!"
},
{
id: "dependency",
name: "Click the top of the concept to add a dependency concept",
dependencies: ["edit"]
},
{
id: "dependent",
name: "Click the bottom of the conc... | demo/edit.js | "use strict";
var knowledge = {
concepts: [
{
id: "edit",
name: "Click here to edit!"
},
{
id: "dependency",
name: "Click the top of the concept to add a dependency concept",
dependencies: ["edit"]
},
{
id: "dependent",
name: "Click the bottom of the conc... | Added dependency deletion to editing demo
Dependency deletion doesn't actually exist yet though
| demo/edit.js | Added dependency deletion to editing demo | <ide><path>emo/edit.js
<ide> },
<ide> {
<ide> id: "joining",
<del> name: "Drag from one node to another to add dependencies",
<add> name: "Drag from one concept to another to add dependencies",
<ide> dependencies: ["edit"]
<add> },
<add> {
<add> id: "removing",
<add> name: ... | |
Java | apache-2.0 | 673531284fafaa53cee1ae26a0cd407e74f4e07a | 0 | nooone/libgdx,haedri/libgdx-1,sjosegarcia/libgdx,kzganesan/libgdx,Arcnor/libgdx,nelsonsilva/libgdx,Senth/libgdx,PedroRomanoBarbosa/libgdx,fwolff/libgdx,petugez/libgdx,jsjolund/libgdx,tell10glu/libgdx,nave966/libgdx,nave966/libgdx,lordjone/libgdx,tommycli/libgdx,EsikAntony/libgdx,saltares/libgdx,tell10glu/libgdx,haedri/... | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | gdx/src/com/badlogic/gdx/graphics/glutils/ShaderProgram.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http:... | [added] ShaderProgram query methods to get info on attributes and uniforms (name, location, type).
| gdx/src/com/badlogic/gdx/graphics/glutils/ShaderProgram.java | [added] ShaderProgram query methods to get info on attributes and uniforms (name, location, type). | <ide><path>dx/src/com/badlogic/gdx/graphics/glutils/ShaderProgram.java
<ide>
<ide> /** whether this program compiled succesfully **/
<ide> private boolean isCompiled;
<del>
<add>
<ide> /** uniform lookup **/
<ide> private final ObjectMap<String, Integer> uniforms = new ObjectMap<String, Integer>();
<ide>
<add> /... | |
JavaScript | apache-2.0 | f470d1fa44e8691ac7ce91c396c2c1d3448f91c9 | 0 | easilyBaffled/react-engine,joshbedo/react-engine,reggi/react-engine,erikakers/react-engine,samuelcouch/react-engine,imranolas/react-engine,joshbedo/react-engine,HorizonXP/react-engine,ghondar/react-engine,paypal/react-engine,dongguangming/react-engine,erikakers/react-engine,ghondar/react-engine,easilyBaffled/react-engi... | /*-------------------------------------------------------------------------------------------------------------------*\
| Copyright (C) 2015 PayPal |
| ... | lib/server.js | /*-------------------------------------------------------------------------------------------------------------------*\
| Copyright (C) 2015 PayPal |
| ... | Refactored: script tag template. Added: logic that injects script into <head/>
| lib/server.js | Refactored: script tag template. Added: logic that injects script into <head/> | <ide><path>ib/server.js
<ide>
<ide> // a template of the `script` tag that gets
<ide> // injected into the server rendered pages.
<del>var TEMPLATE = ['<script id="%s" type="application/javascript">var ',
<del> Config.client.variableName,
<del> ' = %s;</script>'
<del> ].join(... | |
JavaScript | agpl-3.0 | 14c2e566cbda5107f6336f45270783cedf98b32d | 0 | vladnicoara/SDLive-Blog,superdesk/Live-Blog,superdesk/Live-Blog,superdesk/Live-Blog,vladnicoara/SDLive-Blog,superdesk/Live-Blog,vladnicoara/SDLive-Blog | define('jquery/rest',['jquery', 'jquery/utils'], function ($) {
var dfdManager =
{
add: function(parentDfd, childDfd)
{
childDfd.children = [];
if(typeof parentDfd.children == 'undefined') parentDfd.children = [];
parentDfd.children.push(childDfd);
},
stop: function(dfd)
{
if(typeof dfd.childre... | plugins/gui-core/gui-resources/scripts/js/jquery/rest.js | define('jquery/rest',['jquery', 'jquery/utils'], function ($) {
var dfdManager =
{
add: function(parentDfd, childDfd)
{
childDfd.children = [];
if(typeof parentDfd.children == 'undefined') parentDfd.children = [];
parentDfd.children.push(childDfd);
},
stop: function(dfd)
{
if(typeof dfd.childre... | NR-151 : Necessary core features features and fixes
...
| plugins/gui-core/gui-resources/scripts/js/jquery/rest.js | NR-151 : Necessary core features features and fixes | <ide><path>lugins/gui-core/gui-resources/scripts/js/jquery/rest.js
<ide> */
<ide> update: function(data, url)
<ide> {
<del> this.lastAdded.request && $.extend(this.lastAdded.request.headers, {'X-HTTP-Method-Override': 'PUT'});
<add> if( this.lastAdded.request )
<add> $.extend(this.lastAdded.re... | |
Java | apache-2.0 | e31e91772f0babbfd951403b51bb6d88c797e2e8 | 0 | mahak/hbase,lshmouse/hbase,Guavus/hbase,mapr/hbase,joshelser/hbase,Eshcar/hbase,HubSpot/hbase,SeekerResource/hbase,justintung/hbase,andrewmains12/hbase,gustavoanatoly/hbase,bijugs/hbase,joshelser/hbase,HubSpot/hbase,ultratendency/hbase,amyvmiwei/hbase,mapr/hbase,narendragoyal/hbase,andrewmains12/hbase,ChinmaySKulkarni/... | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationTrackerZKImpl.java | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | HBASE-9067 Temporarily disable a few tests in TestReplicationTrackerZKImpl
git-svn-id: 949c06ec81f1cb709fd2be51dd530a930344d7b3@1507764 13f79535-47bb-0310-9956-ffa450edef68
| hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationTrackerZKImpl.java | HBASE-9067 Temporarily disable a few tests in TestReplicationTrackerZKImpl | <ide><path>base-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationTrackerZKImpl.java
<ide> import org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher;
<ide> import org.junit.AfterClass;
<ide> import org.junit.Test;
<add>import org.junit.Ignore;
<ide>
<ide> import static org.junit.Assert.*;
<ide>
... | |
Java | agpl-3.0 | 88ea215f66848bedec4cbda26455d295a72834d2 | 0 | jotomo/AndroidAPS,Heiner1/AndroidAPS,winni67/AndroidAPS,jotomo/AndroidAPS,Heiner1/AndroidAPS,MilosKozak/AndroidAPS,PoweRGbg/AndroidAPS,PoweRGbg/AndroidAPS,Heiner1/AndroidAPS,PoweRGbg/AndroidAPS,Heiner1/AndroidAPS,winni67/AndroidAPS,jotomo/AndroidAPS,MilosKozak/AndroidAPS,MilosKozak/AndroidAPS | package info.nightscout.androidaps.plugins.Wear.wearintegration;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.os.BatteryManager;
import android.os.Bundle;
import android.preference.PreferenceManager;
import ... | app/src/main/java/info/nightscout/androidaps/plugins/Wear/wearintegration/WatchUpdaterService.java | package info.nightscout.androidaps.plugins.Wear.wearintegration;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.os.BatteryManager;
import android.os.Bundle;
import android.preference.PreferenceManager;
import ... | add boluses to wear payload
| app/src/main/java/info/nightscout/androidaps/plugins/Wear/wearintegration/WatchUpdaterService.java | add boluses to wear payload | <ide><path>pp/src/main/java/info/nightscout/androidaps/plugins/Wear/wearintegration/WatchUpdaterService.java
<ide> import com.google.android.gms.wearable.Wearable;
<ide> import com.google.android.gms.wearable.WearableListenerService;
<ide>
<add>import org.mozilla.javascript.tools.jsc.Main;
<ide> import org.slf4j.Logge... | |
JavaScript | mit | 3997d7c3092f7366398da5380a7f1ce503ee8556 | 0 | hansmaad/chartist-js,cr3ative/chartist-js,cr3ative/chartist-js,gionkunz/chartist-js,chartist-js/chartist,chartist-js/chartist,chartist-js/chartist,gionkunz/chartist-js,hansmaad/chartist-js | /**
* The core module of Chartist that is mainly providing static functions and higher level functions for chart modules.
*
* @module Chartist.Core
*/
var Chartist = {};
Chartist.version = '0.3.1';
(function (window, document, Chartist) {
'use strict';
/**
* Helps to simplify functional style code
*
... | source/scripts/chartist.core.js | /**
* The core module of Chartist that is mainly providing static functions and higher level functions for chart modules.
*
* @module Chartist.Core
*/
var Chartist = {};
Chartist.version = '0.3.1';
(function (window, document, Chartist) {
'use strict';
/**
* Helps to simplify functional style code
*
... | Added delta analysis method in core for later use in progressive data updates
| source/scripts/chartist.core.js | Added delta analysis method in core for later use in progressive data updates | <ide><path>ource/scripts/chartist.core.js
<ide> },
<ide> removeMediaQueryListeners: removeMediaQueryListeners
<ide> };
<add> };
<add>
<add> //TODO: For arrays it would be better to take the sequence into account and try to minimize modify deltas
<add> /**
<add> * This method will analyze deltas rec... | |
Java | apache-2.0 | 71844bcd34377d12635372a5ec5f2c97f2862d39 | 0 | ottlinger/fotorenamer,ottlinger/fotorenamer,ottlinger/fotorenamer | /*
Copyright 2011, Aiki IT, FotoRenamer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | src/main/java/de/aikiit/fotorenamer/exception/InvalidDirectoryException.java | /*
Copyright 2011, Aiki IT, FotoRenamer
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... | Fix javadoc
| src/main/java/de/aikiit/fotorenamer/exception/InvalidDirectoryException.java | Fix javadoc | <ide><path>rc/main/java/de/aikiit/fotorenamer/exception/InvalidDirectoryException.java
<ide> private static final Logger LOG =
<ide> Logger.getLogger(InvalidDirectoryException.class);
<ide>
<add> /**
<add> * Shows and logs a given error message.
<add> * @param message the error message.
<add> ... | |
JavaScript | mit | e4afdb99920bdd40620038a0985ed0f35d6a15b6 | 0 | scriptit/octo-release | import test from 'testit';
import octoRelease from '../src';
if (process.env.TRAVIS_TAG) {
console.log('Refusing to build a tag');
process.exit(0);
}
test('upload a new release', () => {
const time = (new Date()).toISOString();
console.log(time);
return octoRelease(process.env.GITHUB_TOKEN, 'scriptit', 'octo... | test/index.js | import test from 'testit';
import octoRelease from '../src';
test('upload a new release', () => {
const time = (new Date()).toISOString();
console.log(time);
return octoRelease(process.env.GITHUB_TOKEN, 'scriptit', 'octo-release', {
tag: time.replace(/\:/g, ''),
name: time,
prerelease: true,
file... | Prevent infinite cycle of builds
| test/index.js | Prevent infinite cycle of builds | <ide><path>est/index.js
<ide> import test from 'testit';
<ide> import octoRelease from '../src';
<ide>
<add>if (process.env.TRAVIS_TAG) {
<add> console.log('Refusing to build a tag');
<add> process.exit(0);
<add>}
<ide> test('upload a new release', () => {
<ide> const time = (new Date()).toISOString();
<ide> con... | |
Java | apache-2.0 | 39193e996e5d9555c11cf33ab849adf7d7620b89 | 0 | francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace,francisliu/hbase_namespace | /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java | /*
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); y... | HBASE-8106 Test to check replication log znodes move is done correctly (Himanshu)
git-svn-id: 949c06ec81f1cb709fd2be51dd530a930344d7b3@1457216 13f79535-47bb-0310-9956-ffa450edef68
| hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java | HBASE-8106 Test to check replication log znodes move is done correctly (Himanshu) | <ide><path>base-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java
<ide>
<ide> import java.net.URLEncoder;
<ide> import java.util.ArrayList;
<add>import java.util.Collection;
<ide> import java.util.List;
<add>import java.util.SortedMap;
<add>import java.util.SortedS... | |
JavaScript | mit | 5b42f74e01d1ca8e01e9b1be5db85241f5021425 | 0 | t-yanaka/zabbix-report,olifolkerd/tabulator,t-yanaka/zabbix-report,t-yanaka/zabbix-report,t-yanaka/zabbix-report | /*
* This file is part of the Tabulator package.
*
* (c) Oliver Folkerd <oliver.folkerd@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
(function(){
'use strict';
$.widget("ui.tabulator", {
data:[],//array to h... | tabulator.js | /*
* This file is part of the Tabulator package.
*
* (c) Oliver Folkerd <oliver.folkerd@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
(function(){
'use strict';
$.widget("ui.tabulator", {
data:[],//array to h... | updated rendering for tables with no height.
| tabulator.js | updated rendering for tables with no height. | <ide><path>abulator.js
<ide>
<ide> //set all headers to the same height
<ide> _vertAlignColHeaders:function(){
<del> var headerHeight = self.header.outerHeight()
<del>
<del> $(".tabulator-col, .tabulator-col-row-handle", self.header).css({"height":""}).css({"height":self.header.innerHeight() + "px"});
<del>
<del> ... | |
Java | apache-2.0 | 20f45a902347b0ab2a67345596d84882651fa6ea | 0 | cacristo/ceos-project | package org.jaexcel.framework.JAEX.engine;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
imp... | JAEX/src/main/java/org/jaexcel/framework/JAEX/engine/Engine.java | package org.jaexcel.framework.JAEX.engine;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
imp... | Refactor unmarshalEngine | JAEX/src/main/java/org/jaexcel/framework/JAEX/engine/Engine.java | Refactor unmarshalEngine | <ide><path>AEX/src/main/java/org/jaexcel/framework/JAEX/engine/Engine.java
<ide> // FIXME apply the column size here - if necessary
<ide> }
<ide>
<add> /**
<add> * Extract from the workbook based at the {@link ConfigCriteria} and the
<add> * object passed as parameters.
<add> *
<add> * @param configCriteria
<a... | |
Java | apache-2.0 | f4eff7d6c60aee4eeaefe48ded7b55a9d362b03e | 0 | apache/tapestry3,apache/tapestry3,apache/tapestry3,apache/tapestry3 | /*
* Tapestry Web Application Framework
* Copyright (c) 2002 by Howard Lewis Ship
*
* mailto:hship@users.sf.net
*
* This library is free software.
*
* You may redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License as published by the Free Software Foundation.
*
* Versi... | examples/Tutorial/src/tutorial/workbench/chart/Chart.java | /*
* Tapestry Web Application Framework
* Copyright (c) 2002 by Howard Lewis Ship
*
* mailto:hship@users.sf.net
*
* This library is free software.
*
* You may redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License as published by the Free Software Foundation.
*
* Versi... | Add default values to Chart, so first look shows a real Pie Chart.
git-svn-id: 1006245cb1bdea2fd4c9095e50bc2ef3d167b18c@242469 13f79535-47bb-0310-9956-ffa450edef68
| examples/Tutorial/src/tutorial/workbench/chart/Chart.java | Add default values to Chart, so first look shows a real Pie Chart. | <ide><path>xamples/Tutorial/src/tutorial/workbench/chart/Chart.java
<ide> {
<ide> setPlotValues(new ArrayList());
<ide>
<del> plotValues.add(new PlotValue("<New>", 0));
<add> plotValues.add(new PlotValue("Fred", 10));
<add> plotValues.add(new PlotValue("Barney", 15));
<add> plotValues.add(new PlotValue... | |
Java | apache-2.0 | b3c8a22c451587379959f4a697e98a283bf3c5ed | 0 | Ardulink/Ardulink-2,Ardulink/Ardulink-2,Ardulink/Ardulink-2 | /**
Copyright 2013 project Ardulink http://www.ardulink.org/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicabl... | ardulink-core-base/src/main/java/org/ardulink/core/events/DefaultRplyEvent.java | /**
Copyright 2013 project Ardulink http://www.ardulink.org/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicabl... | house keeping
| ardulink-core-base/src/main/java/org/ardulink/core/events/DefaultRplyEvent.java | house keeping | <ide><path>rdulink-core-base/src/main/java/org/ardulink/core/events/DefaultRplyEvent.java
<ide>
<ide> package org.ardulink.core.events;
<ide>
<add>import static java.util.Collections.unmodifiableSet;
<add>
<add>import java.util.Collections;
<ide> import java.util.Map;
<ide> import java.util.Set;
<ide>
<ide> private... | |
Java | apache-2.0 | 1afa2faff891b4539ceda1ac252dc5857736dad1 | 0 | wiperdog/wiperdog,wiperdog/wiperdog | package org.wiperdog.installer;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStre... | src/main/java/org/wiperdog/installer/SelfExtractorCmd.java | package org.wiperdog.installer;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStre... | Update message when installing without parameters + message when incorrect syntax
| src/main/java/org/wiperdog/installer/SelfExtractorCmd.java | Update message when installing without parameters + message when incorrect syntax | <ide><path>rc/main/java/org/wiperdog/installer/SelfExtractorCmd.java
<ide> Thread.currentThread().sleep(100);
<ide> }
<ide> // check command syntax to configure OUTPUT_FOLDER
<add>
<ide> if (args.length == 0 || containParam(args, "-ni")) {
<ide> if(args.length == 0){
<del> pri... | |
JavaScript | apache-2.0 | 2640a4de6cfc8b78e11f8a882ca1d422bf83c549 | 0 | sitespeedio/browsertime,sitespeedio/browsertime,sitespeedio/browsertime,tobli/browsertime,sitespeedio/browsertime | 'use strict';
const { promisify } = require('util');
const addTextToVideo = require('./addTextToVideo');
const removeOrange = require('./removeOrange');
const path = require('path');
const fs = require('fs');
const get = require('lodash.get');
const rename = promisify(fs.rename);
const unlink = promisify(fs.unlink);
c... | lib/video/postprocessing/finetune/index.js | 'use strict';
const { promisify } = require('util');
const addTextToVideo = require('./addTextToVideo');
const removeOrange = require('./removeOrange');
const path = require('path');
const fs = require('fs');
const get = require('lodash.get');
const rename = promisify(fs.rename);
const unlink = promisify(fs.unlink);
c... | log the video metrics if we get a failure
| lib/video/postprocessing/finetune/index.js | log the video metrics if we get a failure | <ide><path>ib/video/postprocessing/finetune/index.js
<ide> );
<ide> } else {
<ide> log.error(
<del> 'The video recording start is zero, either no orange is there in the video or VisualMetrics failed.'
<add> 'The video recording start is zero, either no orange is there in the video or VisualMetrics f... | |
Java | apache-2.0 | c6673fa1a6acae081a3bdb782ec1183a2120932c | 0 | ukwa/w3act,ukwa/w3act,ukwa/w3act,ukwa/w3act | package controllers;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import models.CrawlPermission;
import models.DCollection;
import models.Flag;
import models.Organisation;
import models.Tag... | app/controllers/TargetController.java | package controllers;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import models.CrawlPermission;
import models.DCollection;
import models.Flag;
import models.Organisation;
import models.Tag... | + fix for first level collections in Target edit.
| app/controllers/TargetController.java | + fix for first level collections in Target edit. | <ide><path>pp/controllers/TargetController.java
<ide> DCollection collection = itr.next();
<ide> // Logger.debug("add collection: " + collection.title + ", with url: " + collection.url +
<ide> // ", parent:" + collection.parent + ", parent size: " + collection.parent.length());
<del> if ((par... | |
Java | apache-2.0 | 7b1a78798b6a16d497f51d85a2b554bbbe5b72ed | 0 | RSDT/Japp16,RSDT/Japp,RSDT/Japp16 | package nl.rsdt.japp.application.fragments;
import android.app.Fragment;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.net.Uri;
impo... | app/src/main/java/nl/rsdt/japp/application/fragments/JappMapFragment.java | package nl.rsdt.japp.application.fragments;
import android.app.Fragment;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.net.Uri;
impo... | tried to fix #112
| app/src/main/java/nl/rsdt/japp/application/fragments/JappMapFragment.java | tried to fix #112 | <ide><path>pp/src/main/java/nl/rsdt/japp/application/fragments/JappMapFragment.java
<ide> setupDeelgebied(Deelgebied.parse(area));
<ide> }
<ide> }
<add> if(jotiMap instanceof OsmJotiMap) {
<add> ((OsmJotiMap) jotiMap).getOSMMap().invalidate();
<add> }
<ide> ... | |
JavaScript | mit | c0729982b57d5ac90ab09c8f39d4b46851fa477d | 0 | GAMELASTER/facebook-chat-api,Schmavery/facebook-chat-api,ravkr/facebook-chat-api | "use strict";
var utils = require("../utils");
var log = require("npmlog");
module.exports = function(defaultFuncs, api, ctx) {
return function changeThreadColor(color, threadID, callback) {
if(!callback) {
callback = function() {};
}
var form = {
'color_choice' : color,
'thread_or_oth... | src/changeThreadColor.js | "use strict";
var utils = require("../utils");
var log = require("npmlog");
module.exports = function(defaultFuncs, api, ctx) {
return function changeThreadColor(color, threadID, callback) {
var form = {
'color_choice' : color,
'thread_or_other_fbid' : threadID
};
defaultFuncs
.post("... | Fix thread color parameter as optional
| src/changeThreadColor.js | Fix thread color parameter as optional | <ide><path>rc/changeThreadColor.js
<ide>
<ide> module.exports = function(defaultFuncs, api, ctx) {
<ide> return function changeThreadColor(color, threadID, callback) {
<add> if(!callback) {
<add> callback = function() {};
<add> }
<ide> var form = {
<ide> 'color_choice' : color,
<ide> 'thre... | |
Java | bsd-3-clause | 340d0c9f8c7465ed64409de8699aae06d1ac96e5 | 0 | jenkinsci/jaxen | /*
* $Header$
* $Revision: 719 $
* $Date: 2005-05-03 05:27:12 -0700 (Tue, 03 May 2005) $
*
* ====================================================================
*
* Copyright (C) 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or wi... | src/java/test/org/jaxen/saxpath/base/XPathReaderTest.java | /*
* $Header$
* $Revision: 718 $
* $Date: 2005-05-03 05:25:17 -0700 (Tue, 03 May 2005) $
*
* ====================================================================
*
* Copyright (C) 2000-2002 bob mcwhirter & James Strachan.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or wi... | Adding test that foo/$variable/foo is an illegal path;
variables cannot be relative location steps.
| src/java/test/org/jaxen/saxpath/base/XPathReaderTest.java | Adding test that foo/$variable/foo is an illegal path; variables cannot be relative location steps. | <ide><path>rc/java/test/org/jaxen/saxpath/base/XPathReaderTest.java
<ide> /*
<ide> * $Header$
<del> * $Revision: 718 $
<del> * $Date: 2005-05-03 05:25:17 -0700 (Tue, 03 May 2005) $
<add> * $Revision: 719 $
<add> * $Date: 2005-05-03 05:27:12 -0700 (Tue, 03 May 2005) $
<ide> *
<ide> * =================================... | |
Java | apache-2.0 | ca991fa1c101d7a98c5c654fde632352848633c0 | 0 | nssales/OG-Platform,nssales/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,jerome79/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,jeorme/OG-Platform,ChinaQuants/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,jeorme/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,codeaudit... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.view.calc;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNull;
import java.util.Collection;
import java... | projects/OG-Engine/tests/unit/com/opengamma/engine/view/calc/ViewComputationJobTest.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.view.calc;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNull;
import java.util.EnumSet;
import java.ut... | [PLAT-1429] Return a LiveMarketDataSnapshot so that wait for market data can be tested; the LKVMarketDataSnapshot no longer blocks.
| projects/OG-Engine/tests/unit/com/opengamma/engine/view/calc/ViewComputationJobTest.java | [PLAT-1429] Return a LiveMarketDataSnapshot so that wait for market data can be tested; the LKVMarketDataSnapshot no longer blocks. | <ide><path>rojects/OG-Engine/tests/unit/com/opengamma/engine/view/calc/ViewComputationJobTest.java
<ide> import static org.testng.AssertJUnit.assertEquals;
<ide> import static org.testng.AssertJUnit.assertNull;
<ide>
<add>import java.util.Collection;
<ide> import java.util.EnumSet;
<ide> import java.util.HashMap;
<ide... | |
Java | apache-2.0 | c76d68f33dbf2ecbd1e23d4f706fe4a8942e8b57 | 0 | sjnyag/stamp,sjnyag/stamp | package com.sjn.stamp.utils;
import android.content.Context;
import android.os.Bundle;
import com.google.firebase.analytics.FirebaseAnalytics;
import com.sjn.stamp.ui.activity.DrawerMenu;
import java.util.Date;
import static com.sjn.stamp.utils.MediaIDHelper.getHierarchy;
public class AnalyticsHelper {
private... | app/src/main/java/com/sjn/stamp/utils/AnalyticsHelper.java | package com.sjn.stamp.utils;
import android.content.Context;
import android.os.Bundle;
import com.google.firebase.analytics.FirebaseAnalytics;
import com.sjn.stamp.ui.activity.DrawerMenu;
import java.util.Date;
import static com.sjn.stamp.utils.MediaIDHelper.getHierarchy;
public class AnalyticsHelper {
private... | bug fix of tracking ranking term
| app/src/main/java/com/sjn/stamp/utils/AnalyticsHelper.java | bug fix of tracking ranking term | <ide><path>pp/src/main/java/com/sjn/stamp/utils/AnalyticsHelper.java
<ide>
<ide> public static void trackRankingTerm(Context context, Date start, Date end) {
<ide> Bundle payload = new Bundle();
<del> payload.putString(FirebaseAnalytics.Param.START_DATE, start.toString());
<del> payload.putSt... | |
JavaScript | mit | d1967d94474f3f20397d7e0649fdf80e8f8e4991 | 0 | varung-optimus/uppy,transloadit/uppy,varung-optimus/uppy,transloadit/uppy,transloadit/uppy,varung-optimus/uppy,transloadit/uppy | import Plugin from './Plugin'
import tus from 'tus-js-client'
import UppySocket from '../core/UppySocket'
/**
* Tus resumable file uploader
*
*/
export default class Tus10 extends Plugin {
constructor (core, opts) {
super(core, opts)
this.type = 'uploader'
this.id = 'Tus'
this.title = 'Tus'
/... | src/plugins/Tus10.js | import Plugin from './Plugin'
import tus from 'tus-js-client'
import UppySocket from '../core/UppySocket'
/**
* Tus resumable file uploader
*
*/
export default class Tus10 extends Plugin {
constructor (core, opts) {
super(core, opts)
this.type = 'uploader'
this.id = 'Tus'
this.title = 'Tus'
/... | add metadata to tus uploads
| src/plugins/Tus10.js | add metadata to tus uploads | <ide><path>rc/plugins/Tus10.js
<ide> const upload = new tus.Upload(file.data, {
<ide>
<ide> // TODO merge this.opts or this.opts.tus here
<add> metadata: file.meta,
<ide> resume: false,
<ide> endpoint: this.opts.endpoint,
<ide> onError: (error) => {
<ide> })
<ide>... | |
Java | mit | d723bfa84d6a92556c5f796cd6f9364960215f82 | 0 | smarr/SOMns-vscode,smarr/SOMns-vscode,smarr/SOMns-vscode | package som.langserv.som;
import java.util.Objects;
import som.langserv.structure.LanguageElementId;
import trufflesom.compiler.Field;
public class FieldId extends LanguageElementId {
private transient final Field field;
private final int fieldIndex;
public FieldId(final Field field) {
this.field = fie... | server/src/som/langserv/som/FieldId.java | package som.langserv.som;
import java.util.Objects;
import som.langserv.structure.LanguageElementId;
import trufflesom.compiler.Field;
public class FieldId extends LanguageElementId {
private transient final Field field;
private final int fieldIndex;
public FieldId(final Field field) {
this.field = fie... | FieldId may be obtained with just the index, need to consider that for equality+hash, and make it weaker
Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
| server/src/som/langserv/som/FieldId.java | FieldId may be obtained with just the index, need to consider that for equality+hash, and make it weaker | <ide><path>erver/src/som/langserv/som/FieldId.java
<ide>
<ide> @Override
<ide> protected String getName() {
<add> if (field == null) {
<add> return "" + fieldIndex;
<add> }
<ide> return field.getName().getString();
<ide> }
<ide>
<ide> @Override
<ide> public int hashCode() {
<del> return Ob... | |
JavaScript | bsd-3-clause | 55d9ac360453a3edd39710f587b4c19917ef5fc3 | 0 | ipython/ipython,ipython/ipython | //----------------------------------------------------------------------------
// Copyright (C) 2013 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//-----------------------------------------------... | IPython/html/static/widgets/js/manager.js | //----------------------------------------------------------------------------
// Copyright (C) 2013 The IPython Development Team
//
// Distributed under the terms of the BSD License. The full license is in
// the file COPYING, distributed as part of this software.
//-----------------------------------------------... | Remove model from WidgetManager._model on comm:close.
| IPython/html/static/widgets/js/manager.js | Remove model from WidgetManager._model on comm:close. | <ide><path>Python/html/static/widgets/js/manager.js
<ide>
<ide> WidgetManager.prototype._handle_comm_open = function (comm, msg) {
<ide> // Handle when a comm is opened.
<add> var that = this;
<ide> var model_id = comm.comm_id;
<ide> var widget_type_name = msg.con... | |
Java | apache-2.0 | 239c4faf0e8c254ddb07ce6c0d11dfcf5a742159 | 0 | fabric8io/kubernetes-client,rhuss/kubernetes-client,KurtStam/kubernetes-client,KurtStam/kubernetes-client,rhuss/kubernetes-client,rhuss/kubernetes-client,fabric8io/kubernetes-client,fabric8io/kubernetes-client,KurtStam/kubernetes-client | /**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/LogWatchCallback.java | /**
* Copyright (C) 2015 Red Hat, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | Fix the log watcher
| kubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/LogWatchCallback.java | Fix the log watcher | <ide><path>ubernetes-client/src/main/java/io/fabric8/kubernetes/client/dsl/internal/LogWatchCallback.java
<ide> if (out == null) {
<ide> this.out = new PipedOutputStream();
<ide> this.output = new PipedInputStream();
<del> toClose.add(out);
<del> toClose.add(output);
<add> toClose.add(thi... | |
Java | apache-2.0 | ab18e955ca68dcb98393a00fb498a6efaa44ab55 | 0 | semonte/intellij-community,retomerz/intellij-community,semonte/intellij-community,ahb0327/intellij-community,asedunov/intellij-community,slisson/intellij-community,michaelgallacher/intellij-community,ftomassetti/intellij-community,vladmm/intellij-community,akosyakov/intellij-community,alphafoobar/intellij-community,da1... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/vcs-log/graph/src/com/intellij/vcs/log/graph/linearBek/LinearBekController.java | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | [vcs-log] new meaning to collapse and expand buttons in linear bek graph
| platform/vcs-log/graph/src/com/intellij/vcs/log/graph/linearBek/LinearBekController.java | [vcs-log] new meaning to collapse and expand buttons in linear bek graph | <ide><path>latform/vcs-log/graph/src/com/intellij/vcs/log/graph/linearBek/LinearBekController.java
<ide> import org.jetbrains.annotations.NotNull;
<ide> import org.jetbrains.annotations.Nullable;
<ide>
<del>import java.util.*;
<add>import java.util.ArrayList;
<add>import java.util.Collections;
<add>import java.util.Li... | |
Java | agpl-3.0 | c9b161142c8454e83ea615375d84738143762cbc | 0 | akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow | package org.waterforpeople.mapping.app.web;
import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URL;
import java.text.DateFormat;
import java.text.ParseException... | GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java | package org.waterforpeople.mapping.app.web;
import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url;
import java.io.IOException;
import java.io.InputStream;
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URL;
import java.text.DateFormat;
import java.text.ParseException... | Modified reorder by survey
| GAE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java | Modified reorder by survey | <ide><path>AE/src/org/waterforpeople/mapping/app/web/TestHarnessServlet.java
<ide> setupTestUser();
<ide> } else if ("reorderQuestionsByCollectionDate".equals(action)) {
<ide> try {
<del> Long questionGroupId = Long.parseLong(req
<del> .getParameter("questionGroupId"));
<add> Long surveyId = Long.par... | |
Java | apache-2.0 | 9b2c8774e8f9dce9d64dd2703d30bc3935deb55c | 0 | b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl | /*
* Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | snomed/com.b2international.snowowl.snomed.core.rest.tests/src/com/b2international/snowowl/snomed/core/rest/branches/SnomedMergeApiTest.java | /*
* Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | [snomed] Add test case for rebase-then-merge scenario | snomed/com.b2international.snowowl.snomed.core.rest.tests/src/com/b2international/snowowl/snomed/core/rest/branches/SnomedMergeApiTest.java | [snomed] Add test case for rebase-then-merge scenario | <ide><path>nomed/com.b2international.snowowl.snomed.core.rest.tests/src/com/b2international/snowowl/snomed/core/rest/branches/SnomedMergeApiTest.java
<ide>
<ide> getComponent(b, SnomedComponentType.CONCEPT, conceptB, "relationships()").statusCode(200).extract().as(SnomedConcept.class);
<ide> }
<del>
<add>
<add> ... | |
Java | lgpl-2.1 | d2e7e573d1c2ef94b244f824f00734e0d462494d | 0 | CreativeMD/LittleTiles | package com.creativemd.littletiles.common.tiles.vec;
import com.creativemd.littletiles.common.utils.grid.LittleGridContext;
import net.minecraft.util.math.BlockPos;
public class LittleAbsoluteBox {
public BlockPos pos;
public LittleGridContext context;
public LittleTileBox box;
public LittleAbsoluteBox(Block... | src/main/java/com/creativemd/littletiles/common/tiles/vec/LittleAbsoluteBox.java | package com.creativemd.littletiles.common.tiles.vec;
import com.creativemd.littletiles.common.utils.grid.LittleGridContext;
import net.minecraft.util.math.BlockPos;
public class LittleAbsoluteBox {
public BlockPos pos;
public LittleGridContext context;
public LittleTileBox box;
public void convertTo(LittleGr... | Added constructors to LittleAbsoluteBox
| src/main/java/com/creativemd/littletiles/common/tiles/vec/LittleAbsoluteBox.java | Added constructors to LittleAbsoluteBox | <ide><path>rc/main/java/com/creativemd/littletiles/common/tiles/vec/LittleAbsoluteBox.java
<ide> public BlockPos pos;
<ide> public LittleGridContext context;
<ide> public LittleTileBox box;
<add>
<add> public LittleAbsoluteBox(BlockPos pos) {
<add> this.pos = pos;
<add> this.context = LittleGridContext.getMin();
... | |
JavaScript | mpl-2.0 | 47bb0885b2d1767281de862d2bf7e8fa6e6bc9ab | 0 | jmaher/ouija,dminor/ouija,jmaher/ouija,jmaher/ouija,dminor/ouija,dminor/ouija | $(function() {
$error = $("#error"),
$body = $("body");
//TODO: consider revisiting this to ensure we have accurate data and the right format/presentations
function createDates(data) {
var s = $('<select />');
data.sort;
var count = 0;
var length = 0;
for (var val in data) {
length... | static/js/seta.js | $(function() {
$error = $("#error"),
$body = $("body");
//TODO: consider revisiting this to ensure we have accurate data and the right format/presentations
function createDates(data) {
var s = $('<select />');
data.sort;
var count = 0;
var length = 0;
for (var val in data) {
length... | Show/Hide functionailty for disabled jobs.
| static/js/seta.js | Show/Hide functionailty for disabled jobs. | <ide><path>tatic/js/seta.js
<ide> $('<option />', {value: val, text:text}).appendTo(s);
<ide> }
<ide> }
<del> s.appendTo('body');
<add> toggle = $('<input type="submit" value="Show Optional Jobs" id="toggle" />');
<add> if (!($('select').length)) {
<add> s.appendTo('body');
<add> ... | |
Java | bsd-3-clause | dbdd626cbb39e5d0520a197936b37b8b0ae098e2 | 0 | NCIP/c3pr,NCIP/c3pr,NCIP/c3pr | package gov.nih.nci.cabig.ctms.client;
import java.io.InputStream;
import java.rmi.RemoteException;
import javax.xml.namespace.QName;
import org.apache.axis.EngineConfiguration;
import org.apache.axis.client.AxisClient;
import org.apache.axis.client.Stub;
import org.apache.axis.configuration.FileProvider;
import org... | codebase/projects/grid/RegistrationConsumer/src/gov/nih/nci/cabig/ctms/client/RegistrationConsumerClient.java | package gov.nih.nci.cabig.ctms.client;
import java.io.InputStream;
import java.io.FileInputStream;
import java.io.File;
import java.io.StringReader;
import java.rmi.RemoteException;
import javax.xml.namespace.QName;
import org.apache.axis.EngineConfiguration;
import org.apache.axis.client.AxisClient;
import org.apac... | rollback
| codebase/projects/grid/RegistrationConsumer/src/gov/nih/nci/cabig/ctms/client/RegistrationConsumerClient.java | rollback | <ide><path>odebase/projects/grid/RegistrationConsumer/src/gov/nih/nci/cabig/ctms/client/RegistrationConsumerClient.java
<ide> package gov.nih.nci.cabig.ctms.client;
<ide>
<ide> import java.io.InputStream;
<del>import java.io.FileInputStream;
<del>import java.io.File;
<del>import java.io.StringReader;
<ide> import java... | |
Java | bsd-3-clause | 93fd0f9e3d7c6a0cdf6e23ccb1b75975610c5eed | 0 | FRC4564/AerialsAssist | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | src/edu/wpi/first/wpilibj/templates/Natasha2014.java | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | Commented out unused imports | src/edu/wpi/first/wpilibj/templates/Natasha2014.java | Commented out unused imports | <ide><path>rc/edu/wpi/first/wpilibj/templates/Natasha2014.java
<ide> import edu.wpi.first.wpilibj.SimpleRobot;
<ide> import edu.wpi.first.wpilibj.RobotDrive;
<ide> import edu.wpi.first.wpilibj.Joystick;
<del>import edu.wpi.first.wpilibj.Relay;
<del>import edu.wpi.first.wpilibj.Solenoid;
<add>//import edu.wpi.first.wpil... | |
Java | apache-2.0 | b89612f7dadf0eb77ff43541fd0301530f690e2d | 0 | berkantkz/KLU_Yemek,berkantkz/KLU_Yemek,berkantkz/KLU_Yemek | package io.github.berkantkz.klu;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.format.Time;
import android.util.Log;
import an... | app/src/main/java/io/github/berkantkz/klu/MainActivity.java | package io.github.berkantkz.klu;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Bundle;
import android.text.format.Time;
import android.util.Log;
import an... | MainActivity: Don't dismiss the dialog screen on touch
when touched to the outside of the dialog
| app/src/main/java/io/github/berkantkz/klu/MainActivity.java | MainActivity: Don't dismiss the dialog screen on touch | <ide><path>pp/src/main/java/io/github/berkantkz/klu/MainActivity.java
<ide> .setTitle(list.get(position).getDate().replace("-01-"," Ocak ").replace("-02-", " Şubat ").replace("-03-"," Mart ").replace("-04-", " Nisan ").replace("-05-", " Mayıs ").replace("-06-"," Haziran ").replace("-07-", " Temm... | |
Java | apache-2.0 | 9105ce14655ab93daee20de387951d7209f89385 | 0 | AsuraTeam/dubbos,AsuraTeam/dubbos,AsuraTeam/dubbos | /*
* Copyright 1999-2011 Alibaba Group.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispather/WrappedChannelHandler.java | /*
* Copyright 1999-2011 Alibaba Group.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | DUBBO-122 Provider的线程池监控支持
| dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispather/WrappedChannelHandler.java | DUBBO-122 Provider的线程池监控支持 | <ide><path>ubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/transport/dispather/WrappedChannelHandler.java
<ide> this.url = url;
<ide> executor = (ExecutorService) ExtensionLoader.getExtensionLoader(ThreadPool.class).getAdaptiveExtension().getExecutor(url);
<ide>
<del> i... | |
Java | lgpl-2.1 | dd0798d4917fa396a7d982613a18ec547f98d6df | 0 | mediaworx/opencms-core,serrapos/opencms-core,serrapos/opencms-core,mediaworx/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,alkacon/opencms-core,gallardo/opencms-core,gallardo/opencms-core,ggiudetti/opencms-core,alkacon/opencms-core,sbonoc/opencms-core,MenZil/opencms-core,alkacon/opencms-core,victos/opencms-cor... | /*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/workplace/explorer/CmsResourceUtil.java,v $
* Date : $Date: 2008/04/02 07:14:57 $
* Version: $Revision: 1.14 $
*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) 2002 - 2008 Alkacon Software GmbH (http... | src/org/opencms/workplace/explorer/CmsResourceUtil.java | /*
* File : $Source: /alkacon/cvs/opencms/src/org/opencms/workplace/explorer/CmsResourceUtil.java,v $
* Date : $Date: 2008/03/27 16:50:41 $
* Version: $Revision: 1.13 $
*
* This library is part of OpenCms -
* the Open Source Content Management System
*
* Copyright (c) 2002 - 2008 Alkacon Software GmbH (http... | Fixed some issues with deleted users showing the id instead of the name in the GUI
| src/org/opencms/workplace/explorer/CmsResourceUtil.java | Fixed some issues with deleted users showing the id instead of the name in the GUI | <ide><path>rc/org/opencms/workplace/explorer/CmsResourceUtil.java
<ide> /*
<ide> * File : $Source: /alkacon/cvs/opencms/src/org/opencms/workplace/explorer/CmsResourceUtil.java,v $
<del> * Date : $Date: 2008/03/27 16:50:41 $
<del> * Version: $Revision: 1.13 $
<add> * Date : $Date: 2008/04/02 07:14:57 $
<add> * Ve... | |
JavaScript | mit | 6d0ea0795888506f76fd0cce94c9f7c03ee11cd5 | 0 | pablopunk/chronocube,pablopunk/chronocube |
function Solve(name, times) {
this.name = name
this.times = times
}
function DataManager() {
this.solves = [] // array of Solve objects
this.numberOfSolves = 0 // solves loaded into the app !! not the actual number (solves.length)
this.currentSolve = 'Default' // @implement save and load currentSolve in loc... | js/Data.js |
function Solve(name, times) {
this.name = name
this.times = times
}
function DataManager() {
this.solves = [] // array of Solve objects
this.numberOfSolves = 0 // solves loaded into the app !! not the actual number (solves.length)
this.currentSolve = 'Default' // @implement save and load currentSolve in loc... | average of 5 trims the best and worst solve (of last 5)
| js/Data.js | average of 5 trims the best and worst solve (of last 5) | <ide><path>s/Data.js
<ide> else {
<ide> // display scores
<ide> document.getElementById('best-solve').innerHTML = "Best: "+ times[best]
<del> document.getElementById('average-all').innerHTML = "Average All: " + this.getAverage(times.length)
<del> if (times.length>4) document.getElementById('av... | |
Java | apache-2.0 | e0bca445af7c8b3f8867a30e6d664c5a421de594 | 0 | robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,gstevey/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,gstevey/gradle,bl... | /*
* Copyright 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java | /*
* Copyright 2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Polish `DefaultClassLoaderScope`
- Remove redundant branch (`buildLockedLoader(id, classPath)` already
checks if the given `ClassPath` is empty
| subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java | Polish `DefaultClassLoaderScope` | <ide><path>ubprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java
<ide> private ClassLoader buildLockedLoader(ClassLoaderId id, ClassPath classPath, List<ClassLoader> loaders) {
<ide> if (loaders != null) {
<ide> return new CachingClassLoader(buildMulti... | |
Java | mit | 09bccf320c777e27b9e6a821ad3dcc417a311455 | 0 | gurkenlabs/litiengine,gurkenlabs/litiengine | package de.gurkenlabs.litiengine;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import de.gurkenlabs.litiengine.util.MathUtilities;
/**
* The enum {@code Valign} defines a range of vertical alignments.
*/
@XmlEnum
public enum Valign {
@XmlEnumValue("bottom")
DOWN(... | core/src/main/java/de/gurkenlabs/litiengine/Valign.java | package de.gurkenlabs.litiengine;
import jakarta.xml.bind.annotation.XmlEnum;
import jakarta.xml.bind.annotation.XmlEnumValue;
import de.gurkenlabs.litiengine.util.MathUtilities;
/**
* The enum {@code Valign} defines a range of vertical alignments.
*/
@XmlEnum
public enum Valign {
@XmlEnumValue("bottom")
DOWN(... | Keep Valign xml names consistent with enum names.
| core/src/main/java/de/gurkenlabs/litiengine/Valign.java | Keep Valign xml names consistent with enum names. | <ide><path>ore/src/main/java/de/gurkenlabs/litiengine/Valign.java
<ide> public enum Valign {
<ide> @XmlEnumValue("bottom")
<ide> DOWN(1f),
<del> @XmlEnumValue("center")
<add> @XmlEnumValue("middle")
<ide> MIDDLE(0.5f),
<ide> @XmlEnumValue("top")
<ide> TOP(0f), | |
Java | apache-2.0 | 77de2efde93a19b275c3b34f457a84894eebd98a | 0 | pmuetschard/gapid,google/gapid,google/agi,google/gapid,pmuetschard/gapid,google/agi,google/gapid,pmuetschard/gapid,pmuetschard/gapid,google/agi,google/gapid,pmuetschard/gapid,google/agi,google/gapid,google/gapid,google/agi,google/agi,google/agi,pmuetschard/gapid,pmuetschard/gapid,google/agi,google/gapid,google/gapid,pm... | /*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | gapic/src/main/com/google/gapid/views/ShaderView.java | /*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | Remove the no-longer used dropdown selection message.
| gapic/src/main/com/google/gapid/views/ShaderView.java | Remove the no-longer used dropdown selection message. | <ide><path>apic/src/main/com/google/gapid/views/ShaderView.java
<ide> */
<ide> private static class Type implements ShaderPanel.UpdateShader {
<ide> public final API.ResourceType type;
<del> public final String selectMessage;
<ide> public final ShaderPanel.UpdateShader onSourceEdited;
<ide>
<del> pu... | |
Java | apache-2.0 | 440407f6180d541cec41deab1ac5125e3852ebd1 | 0 | billy1380/blogwt,billy1380/blogwt,billy1380/blogwt | //
// FormPart.java
// blogwt
//
// Created by William Shakour (billy1380) on 5 Nov 2015.
// Copyright © 2015 WillShex Limited. All rights reserved.
//
package com.willshex.blogwt.client.markdown.plugin.part;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import... | src/main/java/com/willshex/blogwt/client/markdown/plugin/part/FormPart.java | //
// FormPart.java
// blogwt
//
// Created by William Shakour (billy1380) on 5 Nov 2015.
// Copyright © 2015 WillShex Limited. All rights reserved.
//
package com.willshex.blogwt.client.markdown.plugin.part;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import... | using field types instead of constants | src/main/java/com/willshex/blogwt/client/markdown/plugin/part/FormPart.java | using field types instead of constants | <ide><path>rc/main/java/com/willshex/blogwt/client/markdown/plugin/part/FormPart.java
<ide> import com.willshex.blogwt.client.part.form.TextBoxPart;
<ide> import com.willshex.blogwt.client.wizard.WizardDialog;
<ide> import com.willshex.blogwt.shared.api.datatype.Field;
<add>import com.willshex.blogwt.shared.api.datatyp... | |
Java | mit | 51d9efb0bc84e67bbe62a050686ff75291fe77ac | 0 | karlmdavis/ksoap2-android | /* Copyright (c) 2003,2004 Stefan Haustein, Oberhausen, Rhld., Germany
* Copyright (c) 2006, James Seigel, Calgary, AB., Canada
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without... | ksoap2/ksoap2/src_j2se/org/ksoap2/serialization/MarshalFloat.java | /* Copyright (c) 2003,2004,2006 Stefan Haustein, Oberhausen, Rhld., Germany
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... | Added license information to marshal float
git-svn-id: 58e116579136dd0783a3c5e6645177e33acc8aa3@74 dcb2794c-2714-0410-ae40-8be703bc5849
| ksoap2/ksoap2/src_j2se/org/ksoap2/serialization/MarshalFloat.java | Added license information to marshal float | <ide><path>soap2/ksoap2/src_j2se/org/ksoap2/serialization/MarshalFloat.java
<del>/* Copyright (c) 2003,2004,2006 Stefan Haustein, Oberhausen, Rhld., Germany
<del> *
<add>/* Copyright (c) 2003,2004 Stefan Haustein, Oberhausen, Rhld., Germany
<add> * Copyright (c) 2006, James Seigel, Calgary, AB., Canada
<add> *
<ide> ... | |
Java | apache-2.0 | 15010058dfb4666434477c14a733f1b2ebc4728d | 0 | vlsidlyarevich/unity,vlsidlyarevich/unity,vlsidlyarevich/unity,vlsidlyarevich/unity | package com.github.vlsidlyarevich.unity.web.controller;
import com.github.vlsidlyarevich.unity.db.service.StorageService;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.bo... | src/test/java/com/github/vlsidlyarevich/unity/web/controller/ImageControllerTest.java | package com.github.vlsidlyarevich.unity.web.controller;
import com.github.vlsidlyarevich.unity.db.service.StorageService;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.bo... | Backend: temporarily commented ImageControllerTest
| src/test/java/com/github/vlsidlyarevich/unity/web/controller/ImageControllerTest.java | Backend: temporarily commented ImageControllerTest | <ide><path>rc/test/java/com/github/vlsidlyarevich/unity/web/controller/ImageControllerTest.java
<ide>
<ide> import static org.springframework.test.web.servlet.setup.MockMvcBuilders.webAppContextSetup;
<ide>
<del>@RunWith(SpringRunner.class)
<del>@SpringBootTest
<add>//@RunWith(SpringRunner.class)
<add>//@SpringBootTe... | |
Java | apache-2.0 | d8b00e6df840d5e72b478d26baa094f67a6c32e7 | 0 | nethad/clustermeister,nethad/clustermeister | /*
* Copyright 2012 The Clustermeister Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | provisioning/src/main/java/com/github/nethad/clustermeister/provisioning/torque/TorqueJPPFTestSetup.java | /*
* Copyright 2012 The Clustermeister Team.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | use TorqueNodeManager to start driver
| provisioning/src/main/java/com/github/nethad/clustermeister/provisioning/torque/TorqueJPPFTestSetup.java | use TorqueNodeManager to start driver | <ide><path>rovisioning/src/main/java/com/github/nethad/clustermeister/provisioning/torque/TorqueJPPFTestSetup.java
<ide> */
<ide> package com.github.nethad.clustermeister.provisioning.torque;
<ide>
<add>import com.github.nethad.clustermeister.api.Node;
<ide> import com.github.nethad.clustermeister.api.NodeConfigurati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.